You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature Request] Standardize operationIds to ensure uniqueness #361
Are there other clients (outside of AutoREST dependent clients) that are already using the current format that would be impacted by this change?
Not that I’m aware of. All Microsoft Graph OpenAPI-based SDKs use paths and operation names to construct request builders/command names except for PowerShell, which uses AutoREST. AutoREST uses operationIds to construct command names; uniqueness is key. If a breaking change is a concern, I think it’s best to assume that there is probably a tool out there that takes a dependency on the current OperationId naming convention.
The clients referred to in your comment, are they using this library directly?
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.
Based on the customer issue, they are using the OpenAPI YAML file in the metadata repo that’s generated using this library.
If a breaking change is a concern, I think it’s best to assume that there is probably a tool out there that takes a dependency on the current OperationId naming convention.
Activity
irvinesunday commentedon May 3, 2023
I like this:
Peter Ombwa (@peombwa) I have a few questions on this:
peombwa commentedon May 22, 2023
Not that I’m aware of. All Microsoft Graph OpenAPI-based SDKs use paths and operation names to construct request builders/command names except for PowerShell, which uses AutoREST. AutoREST uses operationIds to construct command names; uniqueness is key. If a breaking change is a concern, I think it’s best to assume that there is probably a tool out there that takes a dependency on the current OperationId naming convention.
This is based on a customer comment in the metadata repo at microsoftgraph/msgraph-metadata#289:
Based on the customer issue, they are using the OpenAPI YAML file in the metadata repo that’s generated using this library.
irvinesunday commentedon May 30, 2023
Peter Ombwa (@peombwa) based on this concern, can we put a hold on this request?