-
Notifications
You must be signed in to change notification settings - Fork 45
openapi.yaml generation is creating duplicated operationIds #289
Copy link
Copy link
Closed
Labels
Needs: Author FeedbackThe original poster needs to provide a response.The original poster needs to provide a response.Status: No Recent Activity
Description
I was attempting to use an existing openapi parser (Azure Autorest) to build a client for the graph yaml, and it generates ~40 errors due to duplicate operationId values. And indeed, it is detecting the issue correctly.
For example:
Both of the following have operationId values of "Get.Count.sectionGroups-497a":
/users/{user-id}/onenote/sectionGroups/$count/users/{user-id}/onenote/sectionGroups/{sectionGroup-id}/sectionGroups/$count
From looking at quite a very of the errors, it appears all (or at least most) of the errors follow this pattern. Based on other entries, it seems like the second element above should have an operation id more like "users.onenote.sectionGroups.count".
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Needs: Author FeedbackThe original poster needs to provide a response.The original poster needs to provide a response.Status: No Recent Activity