Skip to content

Use @Deprecated annotation to mark API operation as deprecated #180

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

Merged
merged 1 commit into from
Nov 23, 2019
Merged

Use @Deprecated annotation to mark API operation as deprecated #180

merged 1 commit into from
Nov 23, 2019

Conversation

hisener
Copy link
Contributor

@hisener hisener commented Nov 23, 2019

We need to use io.swagger.v3.oas.annotations.Operation#deprecated to mark an operation as deprecated. I think supporting common annotations rather than Swagger specific annotations is more convenient.

Copy link
Collaborator

@springdoc springdoc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution @hisener.
Your PR is approved

@springdoc springdoc merged commit 7ec8097 into springdoc:master Nov 23, 2019
@hisener hisener deleted the hsener/use-deprecated-annotation branch November 24, 2019 11:33
@bnasslahsen bnasslahsen added the enhancement New feature or request label Jan 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants