Description
In similar vein as #5383 and following in the theme of #5860 this in regards to instantiation-types, type-mappings, language-specific-primitives, additional-properties, and reserved-words-mappings. Currently these are all single-string, comma-separated parameters and when the number of entries grows the lists become unmanageable and hard to read.
Swagger-codegen version
2.2.1, 2.2.2, 2.2.3-SNAPSHOT
Swagger declaration file content or url
This example is taken from #5383 and tweaked to show type-mappings.
<configOptions>
<type-mappings>json_model=com.mypackage.Model,json_anothermodel=com.mypackage.AnotherModel</type-mappings>
</configOptions>
Command line used for generation
mvn generate-sources
Related issues/PRs
Issues:
#5383
#5860
PRs:
#5384
Suggest a fix/enhancement
The same as was proposed in #5383
(Example modified to show type-mappings)
<configOptions>
<type-mappings>
<param>json_model=com.mypackage.Model</param>
<param>json_anothermodel=com.mypackage.AnotherModel</param>
</type-mappings>
</configOptions>