In my new job I came across a swagger configuration file like one below:
{ "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" }
and 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 commands listed above. I'll be very grateful for providing any comprehensive sources or maybe even a mentioned list :)
You can find them under it's 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: java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar help generate
Language-specific: java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar config-help -l java