Skip to content

Commit 8b6313a

Browse files
committed
Update Java Native modelEnum.mustache File
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com>
1 parent 313e355 commit 8b6313a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

modules/openapi-generator/src/main/resources/Java/libraries/native/modelEnum.mustache

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ import java.util.Locale;
1717
/**
1818
* {{description}}{{^description}}Gets or Sets {{{name}}}{{/description}}
1919
*/
20+
{{#isDeprecated}}
21+
@Deprecated
22+
{{/isDeprecated}}
2023
{{#gson}}
2124
@JsonAdapter({{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.Adapter.class)
2225
{{/gson}}

0 commit comments

Comments
 (0)