forked from loafle/openapi-generator-original
Add missing @Generated
annotation. (#5384)
The annotation is present on other generated files when using jaxrs-spec, but it missing on model classes.
This commit is contained in:
parent
21e285cea9
commit
a10452e37f
@ -11,7 +11,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
|
||||
* {{description}}
|
||||
**/{{/description}}{{#useSwaggerAnnotations}}
|
||||
{{#description}}{{>additionalModelTypeAnnotations}}@ApiModel(description = "{{{description}}}"){{/description}}{{/useSwaggerAnnotations}}
|
||||
public class {{classname}} {{#parent}}extends {{{parent}}}{{/parent}} {{#serializableModel}}implements Serializable{{/serializableModel}} {
|
||||
{{>generatedAnnotation}}public class {{classname}} {{#parent}}extends {{{parent}}}{{/parent}} {{#serializableModel}}implements Serializable{{/serializableModel}} {
|
||||
{{#vars}}{{#isEnum}}{{^isContainer}}
|
||||
|
||||
{{>enumClass}}{{/isContainer}}{{#isContainer}}{{#mostInnerItems}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user