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

Fix duplicate operationId #10

Open
Dreamsorcerer opened this issue Aug 14, 2024 · 0 comments
Open

Fix duplicate operationId #10

Dreamsorcerer opened this issue Aug 14, 2024 · 0 comments

Comments

@Dreamsorcerer
Copy link
Member

Currently, operationId is set from the name that is decorated. This means that web.View methods all receive the same ID. This results in every endpoint in that class opening/closing in the swagger UI when any one is clicked, due to them all having the same id attribute.

The same issue could happen if a user utilises the same handler function for multiple paths in the router.

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

No branches or pull requests

1 participant