fix the hardcoding of api version for classicadmin in powershell#2502
fix the hardcoding of api version for classicadmin in powershell#2502mcardosos merged 2 commits intoAzure:masterfrom
Conversation
Automation for azure-sdk-for-pythonA PR has been created for you based on this PR content. Once this PR will be merged, content will be added to your service PR: |
Automation for azure-sdk-for-goA PR has been created for you based on this PR content. Once this PR will be merged, content will be added to your service PR: |
|
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. |
1 similar comment
|
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. |
|
@mcardosos can you take a look into this,had to make a minor fix since the api version was moved to parameters section,we werent able to hardcode the api version like before[which isnt recommeded also] |
|
@darshanhs90 |
|
@mcardosos no earlier,since we had a apiversion as follows which allowed us to modify the api version in sdk and powershell for all the classicadmin requests[since we had a single swagger file with 2015-07-01 version] Hence i made this PR to fix that issue. |
|
Oh, okok :) Moving the files is the right thing to do in this case, yes. Change LGTM. @fearthecowboy is this change good for you too? For context, the operation |
|
@mcardosos anything blocking this pr to be merged? |
|
I don't see a problem. @lmazuel -- you have any problem with this? |
|
LGTM thanks @fearthecowboy :) |
This is a fix for this hardcoding
https://github.com/Azure/azure-powershell/blob/preview/src/ResourceManager/Resources/Commands.Resources/Models.Authorization/AuthorizationClient.cs#L297
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