-
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
Refinement: added x-ms-enum for tags patch operation #9828
Conversation
…userAssignedIdentities.
[Staging] Swagger Validation Report
️✔️ |
Azure Pipelines successfully started running 1 pipeline(s). |
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-sdk-for-java - Release
|
azure-sdk-for-net - Release
|
azure-sdk-for-go - Release
|
azure-sdk-for-js - Release
|
azure-sdk-for-python-track2 - 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
|
], | ||
"x-ms-enum": { | ||
"name": "operation", | ||
"modelAsString": false, |
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.
How about set to true
for adding new value in the future?
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.
Sure, @raych1 could you please shed a bit more light on this 'modelAsString'? What is this for and what is the difference for setting it true or false? I can change it to 'true' in my pr if needed. I just did something similar to the property PropertyChangeType.
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 enable to add more values for enum
type in the future when set modelAsString
as true. It won't be breaking change. Pls refer x-ms-enum for details.
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.
Hello @raych1, thanks for the explanation. I have set it to true. Since @ravbhatnagar mentioned that ARM review board would not be reviewing property-level changes going forward. Could you please have another look and merge it?
Can one of the admins verify this patch? |
Removing ARM Feedback label since ARM review board will not be reviewing property level changes going forward. |
@Grayer123 , could you resolve the comments? |
@Grayer123 , are you still working on this PR? |
No commit pushedDate could be found for PR 9828 in repo Azure/azure-rest-api-specs |
Azure Pipelines successfully started running 1 pipeline(s). |
Hello @raych1, there is an automation - sdk test failure? Not sure if my change could cause that, could you please help us take a look? Thanks. |
* Bug fixes: skip url encoding for ScopeParameter; add client name for userAssignedIdentities. * Pretty check fix. * Move added client name into additionalProperties of userAssignedIdentities. * Added x-ms-enum property for tag patch operation. * Set modelAsString to true for TagsPatch Enum operations.
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.
As suggested in a cli pr for tags cmdlet, we did the following refinement:
Added "x-ms-enum" for tags patch operation:
Updated in mgmt:2019-10-01 and mgmt:2020-06-01.
Contribution checklist:
If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist
Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.
Please follow the link to find more details on API review process.