Skip to content

Commit 20db1e1

Browse files
Michael1993Verhas Mihaly
andauthored
Fix src/main/resources/JavaSpring/pojo.mustache to generate @deprecated annotation unrelated to description. (#20905)
Co-authored-by: Verhas Mihaly <[email protected]>
1 parent 1996d7e commit 20db1e1

File tree

1 file changed

+1
-1
lines changed
  • modules/openapi-generator/src/main/resources/JavaSpring

1 file changed

+1
-1
lines changed

modules/openapi-generator/src/main/resources/JavaSpring/pojo.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
* @deprecated{{/isDeprecated}}
44
*/
55
{{>additionalModelTypeAnnotations}}
6-
{{#description}}
76
{{#isDeprecated}}
87
@Deprecated
98
{{/isDeprecated}}
9+
{{#description}}
1010
{{#swagger1AnnotationLibrary}}
1111
@ApiModel(description = "{{{description}}}")
1212
{{/swagger1AnnotationLibrary}}

0 commit comments

Comments
 (0)