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

Add ability to pass deprecated: true to @endpoints config #1883

Open
warmbowski opened this issue Apr 12, 2022 · 0 comments
Open

Add ability to pass deprecated: true to @endpoints config #1883

warmbowski opened this issue Apr 12, 2022 · 0 comments

Comments

@warmbowski
Copy link

Is your feature request related to a problem? Please describe.
Using spot @endpoint configuration, I don't see a way to mark and endpoint deprecated: true.

Describe the solution you'd like
Be able to pass deprecated: true to the endpoint decorator config object so that the property appears as a child of the path.method (in the Operation Object) in openapi 2 or 3 generated yaml. (I don't think this would affect other generators).

Describe alternatives you've considered
I can't think of any

Additional context
See Operation Object in these docs
Add to these allowed config props

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