Commit 44d30ac
fix: skip operationId write-back for alias operations
Alias paths share the same *openapi3.Operation pointer as the canonical
path. Writing the suffixed alias name (e.g. GetTestAlias0) back to
op.OperationID would corrupt the canonical operation's ID in the
embedded spec.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent aee9d31 commit 44d30ac
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
672 | 672 | | |
673 | 673 | | |
674 | 674 | | |
675 | | - | |
676 | | - | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
677 | 679 | | |
678 | 680 | | |
679 | 681 | | |
| |||
0 commit comments