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

Allow to override tag using x-code-tag #766

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

lee-elenbaas
Copy link
Contributor

Allow to override tag as the grouping mechanism per endpoint using the 'x-code-tag' property on the operation

@dbanty
Copy link
Collaborator

dbanty commented Sep 13, 2023

Is x-code-tag standard or used by another popular tool? Or should we use a name specific to this tool?

I think this will require tweaking the underlying pydantic attribute. Also, this needs an end-to-end test added to verify it works as expected.

@lee-elenbaas
Copy link
Contributor Author

i added e2e test for it
i did not found something similar so x-code-tag is as good as any name IMO

@dbanty
Copy link
Collaborator

dbanty commented Jan 6, 2024

I'm still not clear on when you'd want to add an extra attribute to override the module name instead of modifying the tags directly (if you can edit the OpenAPI document anyway)

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.

None yet

2 participants