File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
openapi-generator/lib/src/models Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -138,13 +138,16 @@ class GeneratorArguments {
138
138
templateDirectory =
139
139
templateDirectory ?? annotation.templateDirectory ?? '' ,
140
140
generator = generator ?? annotation.generatorName,
141
- typeMappings = typeMapping ?? annotation.typeMappings ?? {},
142
- importMappings = importMapping ?? annotation.importMappings ?? {},
143
- reservedWordsMappings =
144
- reservedWordsMapping ?? annotation.reservedWordsMappings ?? {},
141
+ typeMappings =
142
+ typeMapping ?? annotation.typeMappings ?? < String , String > {},
143
+ importMappings =
144
+ importMapping ?? annotation.importMappings ?? < String , String > {},
145
+ reservedWordsMappings = reservedWordsMapping ??
146
+ annotation.reservedWordsMappings ??
147
+ < String , String > {},
145
148
inlineSchemaNameMappings = inlineSchemaNameMapping ??
146
149
annotation.inlineSchemaNameMappings ??
147
- {},
150
+ < String , String > {},
148
151
additionalProperties =
149
152
additionalProperties ?? annotation.additionalProperties,
150
153
inlineSchemaOptions = inlineSchemaOptions,
You can’t perform that action at this time.
0 commit comments