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.
enum
@Deprecated
1 parent a6c753e commit ecbbccbCopy full SHA for ecbbccb
1 file changed
modules/openapi-generator/src/main/resources/Java/modelEnum.mustache
@@ -17,7 +17,8 @@ import java.util.Locale;
17
/**
18
* {{description}}{{^description}}Gets or Sets {{{name}}}{{/description}}
19
*/
20
-{{#gson}}
+{{#isDeprecated}}@Deprecated
21
+{{/isDeprecated}}{{#gson}}
22
@JsonAdapter({{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.Adapter.class)
23
{{/gson}}
24
{{#jsonb}}
0 commit comments