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