Skip to content

Commit db8bb4f

Browse files
committed
Update modelEnum.mustache According to Review Comment
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com>
1 parent a7696b8 commit db8bb4f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ import java.util.Locale;
1717
/**
1818
* {{description}}{{^description}}Gets or Sets {{{name}}}{{/description}}
1919
*/
20-
{{#isDeprecated}}@Deprecated
21-
{{/isDeprecated}}{{#gson}}
20+
{{#isDeprecated}}
21+
@Deprecated
22+
{{/isDeprecated}}
23+
{{#gson}}
2224
@JsonAdapter({{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.Adapter.class)
2325
{{/gson}}
2426
{{#jsonb}}

0 commit comments

Comments
 (0)