swagger-core
swagger-core copied to clipboard
Mark type as deprecated if the class is `@Deprecated`
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.