-
Notifications
You must be signed in to change notification settings - Fork 314
Labels
bugSomething isn't workingSomething isn't workingemitter:openapi3Issues for @typespec/openapi3 emitterIssues for @typespec/openapi3 emittertriaged:core
Milestone
Description
Describe the bug
When declaring operations in namespaces in hierarchies and having same namespace names, because openapi-emitter uses only one immediate parent namespace or interface, this results in underspecified operationId's generated in final OAS document.
I think for explicit operationId resolution, OAS emitter should see full namespaces chain and resolve whole path.
Reproduction
Checklist
- Follow our Code of Conduct
- Check that there isn't already an issue that request the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- The provided reproduction is a minimal reproducible example of the bug.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingemitter:openapi3Issues for @typespec/openapi3 emitterIssues for @typespec/openapi3 emittertriaged:core