Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
florensie opened this issue Mar 10, 2022 · 0 comments
Closed

Comments

@florensie
Copy link

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.

bnasslahsen added a commit that referenced this issue Mar 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant