Skip to content

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