mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-12 12:40:53 +00:00
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