Skip to content

Commit 024d39b

Browse files
author
Verhas Mihaly
committed
Fix src/main/resources/JavaSpring/pojo.mustache to generate @deprecated annotation unrelated to description.
1 parent 995c6c5 commit 024d39b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • modules/openapi-generator/src/main/resources/JavaSpring

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)