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}}
|
* @deprecated{{/isDeprecated}}
|
||||||
*/
|
*/
|
||||||
{{>additionalModelTypeAnnotations}}
|
{{>additionalModelTypeAnnotations}}
|
||||||
{{#description}}
|
|
||||||
{{#isDeprecated}}
|
{{#isDeprecated}}
|
||||||
@Deprecated
|
@Deprecated
|
||||||
{{/isDeprecated}}
|
{{/isDeprecated}}
|
||||||
|
{{#description}}
|
||||||
{{#swagger1AnnotationLibrary}}
|
{{#swagger1AnnotationLibrary}}
|
||||||
@ApiModel(description = "{{{description}}}")
|
@ApiModel(description = "{{{description}}}")
|
||||||
{{/swagger1AnnotationLibrary}}
|
{{/swagger1AnnotationLibrary}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user