forked from loafle/openapi-generator-original
Fix src/main/resources/JavaSpring/pojo.mustache to generate @Deprecated annotation unrelated to description. (#20905)
Co-authored-by: Verhas Mihaly <mihaly.verhas@intuitech.studio>
This commit is contained in:
parent
1996d7e8fc
commit
20db1e1590
@ -3,10 +3,10 @@
|
||||
* @deprecated{{/isDeprecated}}
|
||||
*/
|
||||
{{>additionalModelTypeAnnotations}}
|
||||
{{#description}}
|
||||
{{#isDeprecated}}
|
||||
@Deprecated
|
||||
{{/isDeprecated}}
|
||||
{{#description}}
|
||||
{{#swagger1AnnotationLibrary}}
|
||||
@ApiModel(description = "{{{description}}}")
|
||||
{{/swagger1AnnotationLibrary}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user