swagger-core icon indicating copy to clipboard operation
swagger-core copied to clipboard

Mark type as deprecated if the class is `@Deprecated`

Open jochenberger opened this issue 8 months ago • 0 comments

If a controller method is annotated with @Deprecated, the respective operation gets a deprecated: true flag. However, if for example a DTO class is annotated with @Deprecated, that has no effect on the OpenAPI docs.

jochenberger avatar Feb 03 '25 13:02 jochenberger