Skip to content

Commit e911f50

Browse files
committed
Update Java JaxRS modelEnum.mustache File
Signed-off-by: Chrimle <[email protected]>
1 parent 8b6313a commit e911f50

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/openapi-generator/src/main/resources/JavaJaxRS/modelEnum.mustache

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
66
/**
77
* {{description}}{{^description}}Gets or Sets {{{name}}}{{/description}}
88
*/
9+
{{#isDeprecated}}
10+
@Deprecated
11+
{{/isDeprecated}}
912
{{>additionalEnumTypeAnnotations}}public enum {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} {
1013
{{#gson}}
1114
{{#allowableValues}}{{#enumVars}}

0 commit comments

Comments
 (0)