-
-
Notifications
You must be signed in to change notification settings - Fork 594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "Microsoft Graph Beta" API #1053
Comments
Two API definitions, under |
Thanks. Is there a reason why you need to introduce an additional version number instead of relying on the version available in the path already? |
The |
allow me to rephrase my question: |
Our directory structure is I'm open to further considerations. |
Thanks the the additional context here. The version specification doesn't mandate any format. |
No, that would be fine, and would allow us to put them both under a |
(created on issue on our side to address this) |
It will involve a small manual step to 'merge' the serviceNames baack together, so would definitely appreciate a heads-up. Will keep this issue open in the meantime. Thanks. |
@baywet - Closing due to inactivity - but please feel free to reopen the issue if necessary. |
No worries. FYI people without contrib on the repo or so don't have the ability to re-open by themselves. We realized this the hard way a while ago. :) |
You're right @baywet, I'll reword that canned response! |
@MikeRalphson Thanks for your patience on this. We're finally updated our tooling end to end to correct this version defect with this last PR microsoftgraph/MSGraph-SDK-Code-Generator#985 |
Perfect, thanks for the ping! |
@baywet in preparation for the above, I ran an update on your source URLs to make sure we were up-to-date. This is the output: > openapi-directory@2.0.0 update
> node --insecure-http-parser --max-old-space-size=8192 --expose-gc ./node_modules/@Mermade/api-registry/registry.js update APIs/microsoft.com/graph
Gathering from APIs/microsoft.com/graph
1 API files read
1 candidates found
Running driver nop for microsoft.com
microsoft.com nop graph 1.0.1 FRUV
operationIds must be unique [identityGovernance.entitlementManagement.assignments.additionalAccess]
#/paths/~1identityGovernance~1entitlementManagement~1assignments~1additionalAccess(accessPackageId='{accessPackageId}',incompatibleAccessPackageId='{incompatibleAccessPackageId}')/get
✗
Saving metadata...
Exiting with 0
> openapi-directory@2.0.0 update
> node --insecure-http-parser --max-old-space-size=8192 --expose-gc ./node_modules/@Mermade/api-registry/registry.js update APIs/microsoft.com/graph-beta
Gathering from APIs/microsoft.com/graph-beta
1 API files read
1 candidates found
Running driver nop for microsoft.com
microsoft.com nop graph-beta 1.0.1 FRUV
operationIds must be unique [drives.drive.list.items.delta]
#/paths/~1drives~1{drive-id}~1list~1items~1delta(token='{token}')/get
✗
Saving metadata...
Exiting with 0 Could you look at the non-unique |
The version information is still incorrect because one PR was forgotten, so I authored this PR microsoftgraph/MSGraph-SDK-Code-Generator#989 @irvinesunday @peombwa do you think this could be a result of this change? microsoft/OpenAPI.NET.OData#324 |
@baywet, @irvinesunday, the issue is due to OData function overloads having the same OperationIds. In this case, OperationIds for the overloaded functions were missing in the OpenAPI document at https://github.com/APIs-guru/openapi-directory/tree/main/APIs/microsoft.com/graph, and now that they have been added, the duplicate is visible. The issue is closely related to microsoftgraph/msgraph-metadata#289. |
right, I had to come up with a "fancy" syntax when projecting those in Kiota (kiota doesn't rely on operation ids). Effectively the request builder for the parameter-less one is |
Any update on this from our perspective, @baywet ? |
according to spectral, this is still an issue at this point (duplicated operation id) Let me create another issue to make sure it's properly addressed. |
Thanks @baywet - subscribed. |
@MikeRalphson thanks for your patience here. |
Format: OpenAPI 3.0
Official: YES
Url: https://graph.microsoft.com/beta
Name: Microsoft Graph Beta
Category: developer_tools
Logo: https://pbs.twimg.com/profile_images/1454912483248930822/_hO4WPRC_400x400.png
To be specific the description is present here but not in the index file. https://github.com/APIs-guru/openapi-directory/tree/main/APIs/microsoft.com/graph
The text was updated successfully, but these errors were encountered: