Skip to content

Support Forcing Unique Operation IDs (Fixes #910)#937

Merged
wolveix merged 2 commits into
mainfrom
force-unique-operation-ids
Jan 23, 2026
Merged

Support Forcing Unique Operation IDs (Fixes #910)#937
wolveix merged 2 commits into
mainfrom
force-unique-operation-ids

Conversation

@wolveix

@wolveix wolveix commented Jan 16, 2026

Copy link
Copy Markdown
Collaborator

This would close out #910.

Per that issue:

In both the OpenAPI specification and Huma's comments, the OperationID is described to be unique

The reason I haven't merged this myself is:

Would appreciate your review when you have the time @danielgtaylor!

@codecov

codecov Bot commented Jan 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.67%. Comparing base (0279842) to head (0a541af).
⚠️ Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #937      +/-   ##
==========================================
+ Coverage   92.52%   92.67%   +0.14%     
==========================================
  Files          23       23              
  Lines        4471     4557      +86     
==========================================
+ Hits         4137     4223      +86     
  Misses        275      275              
  Partials       59       59              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@danielgtaylor danielgtaylor left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wolveix I agree that this should probably just be default behavior. I'm not concerned with breaking people on this one as their generated clients will already be broken if they use duplicate operation IDs. Happy to call this a bug fix!

@wolveix
wolveix merged commit a3c8b56 into main Jan 23, 2026
7 checks passed
@wolveix
wolveix deleted the force-unique-operation-ids branch January 23, 2026 16:02
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.

2 participants