-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Support extensions for tags #2942
Comments
Thanks for the feature request! I think we need to take a holistic view at extensions, the page you linked details all the places where extensions can exist in the OpenAPIv2 spec. It would make sense to me to add a message to describe the extension type and then add that to all the places extensions can be specified. What do you think? |
@johanbrandhorst sorry im having trouble understanding the following, can you provide an example?
Do you mean we should create seperate Messages for every place extensions can be added to? Like For most places already in I was thinking we just follow the same pattern by adding the following line of code to the Tag Message:
And then do the necessary Go changes Thoughts? |
You're right, I didn't think we already had extensions in some places, so lets just go ahead and continue that pattern. |
Fixed in #2950 |
🚀 Feature
Tags have been implemented at the root level as a result of this PR. According to OpenAPI extensions should be available to the Tag object as well.
For example, ReDoc has some vendor extensions available for Tag Objects. You can see here how its used and how its rendered
The text was updated successfully, but these errors were encountered: