Chrimle / openapi-to-java-records-mustache-templates

Generate Java Records from OpenAPI Specifications
https://chrimle.github.io/openapi-to-java-records-mustache-templates/
Apache License 2.0
2 stars 0 forks source link

Annotate generated classes with `@Generated` #56

Closed Chrimle closed 1 month ago

Chrimle commented 1 month ago

Is your feature request related to a problem? Please describe. I don't want generated classes to be counted in coverage reports.

Describe the solution you'd like I want the generated classes to have @Generated-annotations.

Describe alternatives you've considered Manually adding it, or excluding directories/classes from coverage reports.

Additional context Prefer to use an existing configuration-option to enable this.

Chrimle commented 1 month ago

No, probably should add support for: additionalModelTypeAnnotations

Chrimle commented 1 month ago

This can be added manually if desired. Although, adding it manually will not have generation-details