Skip to content

Mark type as deprecated if the class is @Deprecated #4840

Open
@jochenberger

Description

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.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions