Skip to content
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

Incorrect definition of "ScopeParameter" in resources client #9270

Open
lmazuel opened this issue Apr 29, 2020 · 2 comments
Open

Incorrect definition of "ScopeParameter" in resources client #9270

lmazuel opened this issue Apr 29, 2020 · 2 comments
Labels
ARM - Tags ARM Service Attention Workflow: This issue is responsible by Azure service team.

Comments

@lmazuel
Copy link
Member

lmazuel commented Apr 29, 2020

Example:

"ScopeParameter": {
"name": "scope",
"in": "path",
"required": true,
"type": "string",
"description": "The resource scope.",
"x-ms-parameter-location": "method"
},

scope parameters MUST use the x-ms-skip-url-encoding autorest extention, otherwise this leads to issue like this:
Azure/autorest.python#596

Example of correct definition:

{
"name": "scope",
"in": "path",
"required": true,
"type": "string",
"description": "The scope of the role assignment to delete.",
"x-ms-skip-url-encoding": true
},

@lmazuel lmazuel added ARM Service Attention Workflow: This issue is responsible by Azure service team. ARM - Templates labels Apr 29, 2020
@ghost
Copy link

ghost commented Apr 29, 2020

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @armleads-azure.

@ghost
Copy link

ghost commented Apr 29, 2020

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @armleads-azure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARM - Tags ARM Service Attention Workflow: This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

2 participants