Openapi constructor

const Openapi({
  1. AdditionalProperties? additionalProperties,
  2. bool? skipSpecValidation = false,
  3. required InputSpec inputSpec,
  4. String? templateDirectory,
  5. required Generator generatorName,
  6. String? outputDirectory,
  7. Map<String, String>? typeMappings,
  8. Map<String, String>? importMappings,
  9. Map<String, String>? reservedWordsMappings,
  10. Map<String, String>? inlineSchemaNameMappings,
  11. String? apiPackage,
  12. bool? fetchDependencies = true,
  13. bool? runSourceGenOnOutput = true,
  14. String? cachePath,
  15. String? projectPubspecPath,
  16. bool debugLogging = false,
})

Implementation

const Openapi({
  this.additionalProperties,
  this.skipSpecValidation = false,
  required this.inputSpec,
  this.templateDirectory,
  required this.generatorName,
  this.outputDirectory,
  this.typeMappings,
  this.importMappings,
  this.reservedWordsMappings,
  this.inlineSchemaNameMappings,
  // this.inlineSchemaOptions,
  this.apiPackage,
  this.fetchDependencies = true,
  this.runSourceGenOnOutput = true,
  this.cachePath,
  this.projectPubspecPath,
  this.debugLogging = false,
});