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:
Mihály Verhás
2025-03-20 06:54:08 +01:00
committed by GitHub
parent 1996d7e8fc
commit 20db1e1590

View File

@@ -3,10 +3,10 @@
* @deprecated{{/isDeprecated}}
*/
{{>additionalModelTypeAnnotations}}
{{#description}}
{{#isDeprecated}}
@Deprecated
{{/isDeprecated}}
{{#description}}
{{#swagger1AnnotationLibrary}}
@ApiModel(description = "{{{description}}}")
{{/swagger1AnnotationLibrary}}