I came across a swagger configuration file like this:
{
"modelPackage": "aa",
"apiPackage": "aa.model",
"invokerPackage": "aa.model",
"bigDecimalAsString": true,
"hideGenerationTimestamp": true,
"withXml": false,
"serializableModel": false,
"dateLibrary": "java8-localdatetime",
"java8": true,
"fullJavaUtil": false,
"useRuntimeException": false,
"library": "resttemplate"
}
I wonder if there is any complete list of avaible parameters that could be used to configure swagger. I've been searching for it on swagger official website but couldn't find all of the commands listed above. I'll be very grateful for providing any comprehensive sources or maybe even a mentioned list 🙂
Best Answer
You can find them under its git page, under General Configuration parameters.
This is the link: https://github.com/swagger-api/swagger-codegen/blob/master/modules/swagger-codegen-maven-plugin/README.md#general-configuration-parameters
Here, there's more: https://github.com/swagger-api/swagger-codegen/issues/7795
Looks like there's also a specific command to generate documentations. Try these:
General:
Language-specific: