-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Update Microsoft.Resources swagger to include new alias contract #10243
Conversation
(this is already exposed for some time now, but this part of the spec seems out-of-date). Also added the default API version and the API profile properties
[Staging] Swagger Validation Report
️✔️ |
Azure Pipelines successfully started running 1 pipeline(s). |
Can one of the admins verify this patch? |
azure-sdk-for-java - Release
|
azure-sdk-for-js - Release
|
azure-sdk-for-net - Release
|
azure-sdk-for-go - Release
|
Trenton Generation - Release
No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured
|
Azure CLI Extension Generation - Release
No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured
|
azure-sdk-for-python - Release
|
Azure Pipelines successfully started running 1 pipeline(s). |
azure-sdk-for-python-track2 - Release
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comments
specification/resources/resource-manager/Microsoft.Resources/stable/2020-06-01/resources.json
Outdated
Show resolved
Hide resolved
specification/resources/resource-manager/Microsoft.Resources/stable/2020-06-01/resources.json
Show resolved
Hide resolved
"200": { | ||
"body": { | ||
"namespace": "Microsoft.Storage", | ||
"resourceTypes": [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a partial API response. The full response with the full set of resource types and aliases is huge. LMK if that's a problem
Azure Pipelines successfully started running 1 pipeline(s). |
@@ -2230,6 +2230,11 @@ | |||
"tags": [ | |||
"Providers" | |||
], | |||
"x-ms-examples": { | |||
"Get a resource provider at tenant scope": { | |||
"$ref": "./examples/GetNamedProviderAtTenant.json" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does the change only apply to tenant level providers call?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It applies to all providers/ calls. I can add example for each individual flavor if you think it's necessary.
/azp run automation - sdk |
Azure Pipelines successfully started running 1 pipeline(s). |
Hi @raych1 what is the next step? Is there anything else i need to do in order to merge this PR? |
specification/resources/resource-manager/Microsoft.Resources/stable/2020-06-01/resources.json
Show resolved
Hide resolved
…re#10243) * Update Microsoft.Resources swagger to include new alias contract (this is already exposed for some time now, but this part of the spec seems out-of-date). Also added the default API version and the API profile properties * Fix prettier errors * Address PR comments
These properties are already available for some time now, the swagger is out of date.
The main goal is to add the alias path metadata related properties. I also had to add the default API version and API profiles because they show in the example payload and it won't pass validation otherwise.
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.
Contribution checklist:
If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist
Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.
If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.
Please follow the link to find more details on PR review process.