This repository was archived by the owner on Mar 16, 2025. It is now read-only.
This repository was archived by the owner on Mar 16, 2025. It is now read-only.
modelNameSuffix #65
Closed
Description
Hi,
awesome project, thanks for putting in the hours!
The openapi-generator-maven-plugin
has a configuration property called modelNameSuffix
which, as the name suggest, allows the user to append a suffix to the generated model classes.
Do you thing such a feature would be valuable in your project as well?
Example
Swagger:
components:
schemas:
FooObject:
type: object
properties:
bar:
type: boolean
Mapping:
openapi-processor-mapping: v2
options:
package-name: example.gen
modelNameSuffix: Dto
Would result in the generation of example.gen.model.FooObjectDto.java