Skip to content
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

Deprecated Attribute to Operation, Parameter and Schema #42

Merged
merged 5 commits into from
Feb 9, 2021

Conversation

justinyoo
Copy link
Contributor

PR for #27

This is to implement the deprecated attribute on the Operation, Parameter and Schema objects so that the UI page and document reflect them.

  • If the Deprecated property value is set to true on OpenApiParameterAttribute, OpenApiRequestBodyAttribute and OpenApiResponseWithBodyAttribute, they are not showing up on both UI and document.
  • If the Deprecated property value is set to true on OpenApiOperationAttribute, the specified operation is greyed out so that it gives the visual indication to devs.

@justinyoo justinyoo linked an issue Feb 9, 2021 that may be closed by this pull request
@justinyoo justinyoo merged commit 4ab49bb into main Feb 9, 2021
@justinyoo justinyoo deleted the feature/deprecated branch February 9, 2021 17:21
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

Successfully merging this pull request may close these issues.

Mark Deprecated to Operations, Parameters and Schemas
1 participant