Skip to content

Commit

Permalink
Fix duplicate rendering of @deprecated annotation on Builder methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Philzen committed Jun 13, 2024
1 parent 63cb5b6 commit 74cd599
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@
this.instance.{{name}}({{name}});
return this;
}
{{#deprecated}}
@Deprecated
{{/deprecated}}

{{#openApiNullable}}{{#isNullable}}
public {{classname}}.Builder {{name}}(JsonNullable<{{{datatypeWithEnum}}}> {{name}}) {
this.instance.{{name}} = {{name}};
Expand Down

0 comments on commit 74cd599

Please sign in to comment.