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

Handle the same operation occurring at different routes #272

Merged
merged 2 commits into from
Aug 23, 2020

Conversation

mbuhot
Copy link
Collaborator

@mbuhot mbuhot commented Aug 23, 2020

Fixes #123

When two (or more) routes map to the same operation, the first is left unchanged,
while the rest will have an index in parens appended to the operationId.

Example:

image

mbuhot added 2 commits August 23, 2020 19:52
When two (or more) routes map to the same operation, the first is left unchanged,
while the rest will have an index in parens appended to the operationId.

This fixes an issue in SwaggerUI where expanding one of the operations expands all
with the same operationId.
@mbuhot mbuhot merged commit 5f9d865 into master Aug 23, 2020
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.

Duplicated operationId for multiple routes with same controller function
2 participants