-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
[Hub Generated] Review request for Microsoft.KeyVault to add version stable/2019-09-01 #12475
[Hub Generated] Review request for Microsoft.KeyVault to add version stable/2019-09-01 #12475
Conversation
Hi, @jiacheng-L Thanks for your PR. I am workflow bot for review process. Here are some small tips. Any feedback about review process or workflow bot, pls contact swagger and tools team. vsswagger@microsoft.com |
Swagger Validation Report
|
Rule | Message |
---|---|
1011 - AddingResponseCode |
The new version adds a response code 'default'. New: Microsoft.KeyVault/stable/2019-09-01/keyvault.json#L447:11 |
1011 - AddingResponseCode |
The new version adds a response code 'default'. New: Microsoft.KeyVault/stable/2019-09-01/keyvault.json#L499:11 |
1011 - AddingResponseCode |
The new version adds a response code 'default'. New: Microsoft.KeyVault/stable/2019-09-01/keyvault.json#L544:11 |
1011 - AddingResponseCode |
The new version adds a response code 'default'. New: Microsoft.KeyVault/stable/2019-09-01/keyvault.json#L741:11 |
1011 - AddingResponseCode |
The new version adds a response code 'default'. New: Microsoft.KeyVault/stable/2019-09-01/keyvault.json#L792:11 |
1011 - AddingResponseCode |
The new version adds a response code 'default'. New: Microsoft.KeyVault/stable/2019-09-01/providers.json#L38:11 |
️⚠️
LintDiff: 2 Warnings warning [Detail]
- Linted configuring files (Based on source branch, openapi-validator v1.7.0 , classic-openapi-validator v1.1.5 )
- Linted configuring files (Based on target branch, openapi-validator v1.7.0 , classic-openapi-validator v1.1.5 )
Rule | Message |
---|---|
'error' model/property lacks 'description' and 'title' property. Consider adding a 'description'/'title' element. Accurate description/title is essential for maintaining reference documentation. New: Microsoft.KeyVault/stable/2019-09-01/keys.json#L356 |
|
'error' model/property lacks 'description' and 'title' property. Consider adding a 'description'/'title' element. Accurate description/title is essential for maintaining reference documentation. New: Microsoft.KeyVault/stable/2019-09-01/secrets.json#L297 |
️️✔️
Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️
ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️
SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️
[Staging] Cross Version BreakingChange (Base on preview version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️
[Staging] Cross Version BreakingChange (Base on stable version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️
CredScan succeeded [Detail] [Expand]
There is no credential detected.
Swagger Generation Artifacts
|
Hi @jiacheng-L, Your PR has some issues. Please fix the CI sequentially by following the order of
|
Hi @jiacheng-L, one or multiple breaking change(s) is detected in your PR. Please check out the breaking change(s), and provide business justification in the PR comment and @ PR assignee why you must have these change(s), and how external customer impact can be mitigated. Please ensure to follow breaking change policy to request breaking change review and approval before proceeding swagger PR review. |
@jiacheng-L , can you take above action for the breaking change review request? |
"ProviderError": { | ||
"description": "An error response from Key Vault resource provider", | ||
"properties": { | ||
"error": { |
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.
Why is the actual error nested? Is this common of mgmt plane?
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.
I believed so. Both Key.json and KeyVault.json use the same model.
}, | ||
"x-ms-external": true | ||
}, | ||
"ProviderErrorBody": { |
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 the same as CloudError
. Does a new model need to be created? Or is the thought they could diverge at some point?
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.
@heaths They are the same. I updated it to CloudError, as well as the one in secrets.json, which I defined in the last PR
@ArcturusZhang @msyyc , can you double check the SDK breaking change? Thanks. |
Some of the breaking changes are introduced by #11607 which are not acceptable and wrong. I am looking at the root cause of this issue. Please temporarily do not merge this PR. Thank you |
If you are talking about the .net breaking change, it may probably because I added the Error response block in that PR. Error response model can not covert to the previous 'Vault' result object. Therefore I may need to submit a request to update the .net SDK |
But for Go and Python, I don't have any ideas why those Breaking Change tag would be added |
@jiacheng-L the swaggers with the new added response codes generate go code that cannot work properly, because previous the go generator cannot handle the extension |
@ArcturusZhang , let me know once your fix is merged and I will remove |
Hi @raych1 after a rethinking, I suppose it does not make sense blocking this PR from merging by an issue caused by a merged PR. Please merge this when it is ready as usual. Therefore I removed the And BTW the fix is ready, but we need to test it. |
Thanks @ArcturusZhang , it makes sense. @msyyc, can you please check if this PR has python sdk breaking change? |
For python, the PR is ok |
…stable/2019-09-01 (Azure#12475) * Add missing default error responses * fix copy/paste error * unify the error model
This is a PR generated at OpenAPI Hub. You can view your work branch via this link.
Changelog
Please ensure to add changelog with this PR by answering the following questions.
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.
Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.
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.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.