Skip to content

@Deprecated on contoller should mark all its operations as deprecated #1544

Closed
@florensie

Description

@florensie

Is your feature request related to a problem? Please describe.
When you mark a mapping with @Deprecated, that is reflected in the generated schema. The same does not happen when you annotate the controller instead.

Describe the solution you'd like
When I annotate a REST controller as @Deprecated, I expect all of its operations to be marked as deprecated in the generated apidoc.

Describe alternatives you've considered
The alternative would be a custom converter or customizer.

Additional context
This feature does exist in Springfox.

Metadata

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