Fix regression caused by previous merge#2043
Conversation
| }, | ||
| "type": { | ||
| "roletype": { | ||
| "type": "string", |
There was a problem hiding this comment.
From what we talked offline, this should stay as type
There was a problem hiding this comment.
since there are two fields with name "type" in the response that is sent by the service.
we cant name this as type,because we would leave out the property with value(for example) type which corresponds to "CUSTOM Role"
| }, | ||
| "roletype": { | ||
| "type": { | ||
| "type": "string", |
There was a problem hiding this comment.
From what we talked offline, this should be renamed to roleName
There was a problem hiding this comment.
since there are two fields with name "type" in the response that is sent by the service.
we cant name this as rolename,because it wouldnt match the property "type" and would miss out having the value like custom role/builtin role
There was a problem hiding this comment.
Okok, there was some confusion on my side.
The property name should be the very same that is returned by the service. In this case, if you want to still get the benefits from x-ms-client-flatten, there is another extension that can be used to override the property name in the SDK code without changing serialization. Look into x-ms-client-name
In reply to: 152688623 [](ancestors = 152688623)
There was a problem hiding this comment.
Okok, there was some confusion on my side.
The property name should be the very same that is returned by the service. In this case, if you want to still get the benefits from x-ms-client-flatten, there is another extension that can be used to override the property name in the SDK code without changing serialization. Look into x-ms-client-name
|
Hi There, I am the AutoRest Linter Azure bot. I am here to help. My task is to analyze the situation from the AutoRest linter perspective. Please review the below analysis result: File: AutoRest Linter Guidelines | AutoRest Linter Issues | Send feedback Thanks for your co-operation. |
|
Hi There, I am the AutoRest Linter Azure bot. I am here to help. My task is to analyze the situation from the AutoRest linter perspective. Please review the below analysis result: File: AutoRest Linter Guidelines | AutoRest Linter Issues | Send feedback Thanks for your co-operation. |
|
No modification for AutorestCI/azure-sdk-for-node |
Related to #2031
This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information
api-versionin the path should match theapi-versionin the spec).Quality of Swagger