Open fenders1 opened 5 years ago
try to add this to the plugin, it should help you.
I'm trying to do the - looking at the mustache
templates, there doesn't seem to be any kind of conditional around the @ApiModel
lines so it doesn't look configurable. Think I'll just duplicate the language and remove the lines from the templates.
I am generating Java 8 code from yaml file specifying my REST API. Models generated with some swagger annotations that I want to get rid of. Is it possible somehow? And maybe it will be possible in the nearest future ?
Rest models will be traveling through Camle routes, so I would like to use jaxrs annotations if any..
I am using openapi 3.0.0 version, so I have to use newest swagger maven codegen plugin (which I find 3.0.0-rc1 in maven repository)
I am using:
<generateModelDocumentation>false</generateModelDocumentation>
The generated model:
The pom.xml configuration: