-
Notifications
You must be signed in to change notification settings - Fork 37
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
Test PowerShell integration with Microsoft.OpenAPI.OData - v1.0.10-preview2
lib.
#902
Test PowerShell integration with Microsoft.OpenAPI.OData - v1.0.10-preview2
lib.
#902
Comments
@irvinesunday, from my local test, the number of operations in Sites and Files can be substantially reduced by suppressing unwanted duplicate/invalid paths in the metadata (~1000 operations in v1.0 & beta), e.g.:
Are we in a position to use microsoftgraph/msgraph-metadata#105 (as a namespaced annotation) in 1.0.10 or should we fall back to |
The @darrelmiller is your initial proposal still valid in light of the above? |
@irvinesunday the issue you linked refers to the return type conversion, not necessarily the parameters although the example is similar. |
Really? I believe this is what added the |
ah! I missing the content aspect during the PR review, my bad... |
It was suggested in @darrelmiller's proposal. |
@peombwa |
@irvinesunday, has https://devxapitest.azurewebsites.net/ been updated? The diff yields no change in the OpenAPI docs (files and sites). |
Sorry @peombwa I forgot to update the updated metadata url in the https://devxapitest.azurewebsites.net/ app service. It should be good now. |
@irvinesunday, using the latest OpenAPI refresh, I'm able to generate Files and Sites successfully. |
That's great news! @irvinesunday can you pr the conversion lib to ship 1.0.10 please? (release) the go generation based off this new version also fixed a lot of issues we were running into. |
There's still that issue with DeviceFunctions.Management parameter object |
@irvinesunday The use of the content property indicates that the URL is serialized like this
with the schema property it says the URL looks like
If the later works with OData, then we can definitely change the output of the CSDL conversion. If it doesn't then I don't know how we solve this issue. |
@irvinesunday I have created a milestone as well as an issue for the release https://github.com/microsoft/OpenAPI.NET.OData/milestone/6 Can you log an issue for the previous comment from Darrel and add it to the milestone please? |
@baywet I have created an issue in DevX API (I believe this is a PowerShell-specific fix) and linked it to the milestone issue you've created. |
@peombwa try testing the DeviceManagement.Functions again with the updated https://devxapitest.azurewebsites.net/. I have patched a fix to address the |
@irvinesunday, the change to We should only generate schema parameters of array of strings when the parameter type is |
Thanks for the rapid bug bash @peombwa 😄 I have fixed that issue. |
Thanks for the quick turnaround. I've rebuilt the entire SDK, and everything looks good on PS's end. I'd say we are good to go with 1.0.10. |
@irvinesunday, I've just encountered #928 in this week's refresh. It's blocking PS from using Microsoft.OpenAPI.OData v1.0.10. |
What is the status of this issue? Is it still blocking the availability/presence of the PS remove-* commandlets (Missing $ref paths for DELETE operations) |
The
Microsoft.OpenAPI.OData - v1.0.10-preview2
OData - OpenAPI conversion lib. is out!We need to test how this lib. integrates with PowerShell through DevX API via this test url: https://devxapitest.azurewebsites.net/ and bump up the lib version in this repo if successful.
The text was updated successfully, but these errors were encountered: