diff --git a/openapi-generator/lib/src/models/generator_arguments.dart b/openapi-generator/lib/src/models/generator_arguments.dart index 5ec1246..d82962c 100644 --- a/openapi-generator/lib/src/models/generator_arguments.dart +++ b/openapi-generator/lib/src/models/generator_arguments.dart @@ -138,13 +138,16 @@ class GeneratorArguments { templateDirectory = templateDirectory ?? annotation.templateDirectory ?? '', generator = generator ?? annotation.generatorName, - typeMappings = typeMapping ?? annotation.typeMappings ?? {}, - importMappings = importMapping ?? annotation.importMappings ?? {}, - reservedWordsMappings = - reservedWordsMapping ?? annotation.reservedWordsMappings ?? {}, + typeMappings = + typeMapping ?? annotation.typeMappings ?? {}, + importMappings = + importMapping ?? annotation.importMappings ?? {}, + reservedWordsMappings = reservedWordsMapping ?? + annotation.reservedWordsMappings ?? + {}, inlineSchemaNameMappings = inlineSchemaNameMapping ?? annotation.inlineSchemaNameMappings ?? - {}, + {}, additionalProperties = additionalProperties ?? annotation.additionalProperties, inlineSchemaOptions = inlineSchemaOptions,