Openapi constructor
const
Openapi({
- AdditionalProperties? additionalProperties,
- bool? skipSpecValidation = false,
- required InputSpec inputSpec,
- String? templateDirectory,
- required Generator generatorName,
- String? outputDirectory,
- Map<
String, String> ? typeMappings, - Map<
String, String> ? importMappings, - Map<
String, String> ? reservedWordsMappings, - Map<
String, String> ? inlineSchemaNameMappings, - String? apiPackage,
- bool? fetchDependencies = true,
- bool? runSourceGenOnOutput = true,
- String? cachePath,
- String? projectPubspecPath,
- 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,
});