Description
The Pre- and Suffix option is implemented in the codegen-core and available in the cli.
It should be also aviable through maven.
Swagger-codegen version
2.2.0-SNAPSHOT
Related issues
#1255
Suggest a Fix
<plugin>
<groupId>io.swagger</groupId>
<artifactId>swagger-codegen-maven-plugin</artifactId>
<version>2.1.5-SNAPSHOT</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<!-- specify the swagger yaml -->
<inputSpec>swagger.yaml</inputSpec>
<!-- target to generate -->
<language>java</language>
<!-- optional: Sets the Prefix for model classes and enums. -->
<!-- <modelNamePrefix></modelNamePrefix> -->
<!-- optional: Sets the Suffix for model classes and enums. -->
<!-- <modelNameSuffix>Dto</modelNameSuffix> -->
<!-- pass any necessary config options -->
<configOptions>
<dateLibrary>java8</dateLibrary>
</configOptions>
<!-- override the default library to jersey2 -->
<library>jersey2</library>
</configuration>
</execution>
</executions>
</plugin>
I'll open a PR for that.
Description
The Pre- and Suffix option is implemented in the codegen-core and available in the cli.
It should be also aviable through maven.
Swagger-codegen version
2.2.0-SNAPSHOT
Related issues
#1255
Suggest a Fix
I'll open a PR for that.