We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
modelEnum.mustache
1 parent 8b6313a commit e911f50Copy full SHA for e911f50
1 file changed
modules/openapi-generator/src/main/resources/JavaJaxRS/modelEnum.mustache
@@ -6,6 +6,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
6
/**
7
* {{description}}{{^description}}Gets or Sets {{{name}}}{{/description}}
8
*/
9
+{{#isDeprecated}}
10
+@Deprecated
11
+{{/isDeprecated}}
12
{{>additionalEnumTypeAnnotations}}public enum {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} {
13
{{#gson}}
14
{{#allowableValues}}{{#enumVars}}
0 commit comments