Skip to content

Conversation

antgamdia
Copy link

I need to filter out some operations based on the deprecated field. While it can be achieved by adding a new tag, we are already using this deprecated: true field in our API specs.

This PR is just to expose this field so that we can use it from other places.
I also wonder if we even want to embed the *openapi3.Operation in the OpenAPIOperation struct, but, for now, I kept the changes to a minimum.

Also, we could have something similar to the TagFilter and have this implemented here as well. Happy to do so, but before jumping in, I'd like to confirm/double-check it.

PS: thank you for forking the original project and starting to maintain it!

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.

1 participant