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: Ensure operationIds are unique #114

Merged
merged 2 commits into from
Apr 9, 2024

Conversation

provokateurin
Copy link
Member

Fixes #98

Tags are not longer used for the operationId because it is possible to tag two controller methods with the same names in two different controllers with the same tag and the output would be the same operationId. Talk is currently affected by this problem.
The failure results in a panic and can not be skipped because the result would be an invalid spec.
The CI for Talk will fail because it currently has a controller method with two routes that are not unique.

@provokateurin provokateurin added the bug Something isn't working label Apr 9, 2024
@nickvergessen
Copy link
Member

Still kind of meh

@provokateurin provokateurin merged commit aa4c24f into main Apr 9, 2024
10 checks passed
@provokateurin provokateurin deleted the fix/non-unique-operation-ids branch April 9, 2024 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Operation IDs are not guaranteed to be unique
2 participants