Skip to content

Corrected API versions#2482

Merged
olydis merged 5 commits intoAzure:masterfrom
mcardosos:apiversion
Feb 15, 2018
Merged

Corrected API versions#2482
olydis merged 5 commits intoAzure:masterfrom
mcardosos:apiversion

Conversation

@mcardosos
Copy link
Copy Markdown
Contributor

@mcardosos mcardosos commented Feb 12, 2018

Fixes #2481

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

  • The title of the PR is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
  • Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
  • If applicable, the PR references the bug/issue that it fixes.
  • Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

@mcardosos
Copy link
Copy Markdown
Contributor Author

@darshanhs90 PTAL :)

@AutorestCI
Copy link
Copy Markdown

AutorestCI commented Feb 12, 2018

Automation for azure-sdk-for-python

A PR has been created for you:
Azure/azure-sdk-for-python#1967

@AutorestCI
Copy link
Copy Markdown

AutorestCI commented Feb 12, 2018

Automation for azure-sdk-for-go

Was unable to create SDK azure-sdk-for-go PR for this closed PR.

@sarangan12
Copy link
Copy Markdown
Contributor

Looks Good

"swagger": "2.0",
"info": {
"title": "AuthorizationManagementClient",
"version": "2015-07-01",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"2015-07-01", [](start = 15, length = 13)

the earlier api version is correct,since we added new api-version support for roleassignment calls only

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mcardosos what about the above comment?

"swagger": "2.0",
"info": {
"title": "AuthorizationManagementClient",
"version": "2015-07-01",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"2015-07-01", [](start = 15, length = 13)

classicadmin API is owned by ARM team,hence we didnt modify the api version here and modified only for the API calls which we own

Copy link
Copy Markdown
Contributor

@darshanhs90 darshanhs90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🕐

Copy link
Copy Markdown
Contributor

@olydis olydis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved examples still have 2017-10-01-preview; not crucial but misleading, especially if docs are generated from this!

"info": {
"title": "AuthorizationManagementClient",
"version": "2017-10-01-preview",
"version": "2015-07-01",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"2015-07-01", [](start = 15, length = 13)

missed it in the review,this version shouldnt be changed

"info": {
"title": "AuthorizationManagementClient",
"version": "2015-07-01",
"version": "2017-10-01-preview",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

version": "2017-10-01-preview", [](start = 5, length = 31)

this it the file ,in which the version can be changed to the 2015 version

Copy link
Copy Markdown
Contributor

@darshanhs90 darshanhs90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left some comments to change

@mcardosos
Copy link
Copy Markdown
Contributor Author

@darshanhs90 Fixed :)

@azuresdkciprbot
Copy link
Copy Markdown

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: specification/authorization/resource-manager/readme.md
Before the PR: Warning(s): 0 Error(s): 0
After the PR: Warning(s): 0 Error(s): 0

AutoRest Linter Guidelines | AutoRest Linter Issues | Send feedback

Thanks for your co-operation.

@darshanhs90
Copy link
Copy Markdown
Contributor

"api-version": "2017-04-19"

one minor thing,which i might have missed in my PR.
2015-07-01


Refers to: specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/DeleteRoleDefinition.json:5 in 032301c. [](commit_id = 032301c, deletion_comment = False)

Copy link
Copy Markdown
Contributor

@darshanhs90 darshanhs90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@azuresdkciprbot
Copy link
Copy Markdown

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: specification/authorization/resource-manager/readme.md
Before the PR: Warning(s): 0 Error(s): 0
After the PR: Warning(s): 0 Error(s): 0

AutoRest Linter Guidelines | AutoRest Linter Issues | Send feedback

Thanks for your co-operation.

@olydis olydis merged commit 64683a5 into Azure:master Feb 15, 2018
mccleanp pushed a commit that referenced this pull request Mar 23, 2022
* changes to enable projected workspaces

* Added example jsons for the shares

* changes to add readme

* changes after swagger errors

* changes

* Adding shareId to workspaceId

* Adding shareId to workspaceId

* Adding shareId to workspaceId

* removing readme

* changes to readme

* changes to readme

* changes to swagger validations errors

* changes to swaggers

* changes to swagger validations errors

* shares.json

* changes to swagger validations errors

* changes to swagger validations errors

* changes to swagger validations errors

* changes to swagger validations errors

* changes to swaggers

* changes to swaggers

* changes to swagger validations errors

* changes to swagger validations errors

* changes to swagger validations errors

* changes to swagger validations errors

* changes to swagger validations errors

* changes to swagger validations errors

* changes to swagger validations errors

* changes to swagger validations errors

* changes to swagger validations errors

* changes to swagger validations errors

* changes to swaggers

* changes to swagger validations errors

* changes to swagger validations errors

* changes to swagger validations errors

* custom words

* custom words

* adding formating changes

* adding formating changes

* adding formating changes

* formatting changes

* formatting changes

* code review comments

* code review comments

* code review comments

* code review comments

* Adding share list

* code review comments

* code review commits

* Shares

* Shares

* adding systemsdata to response

* changes to shares json

* adding systemsdata to response

* changes to shares json

* changes to shares

* changes to share

* code review comments

* Update workspaces.json

* code review comments fix for adding type to the jsons

* code review comments fix for adding type to the jsons

* Update workspaces.json

removing description

* Update workspaces.json

* workspaces

* chanegs to fix lint

* chanegs to fix lint

* chanegs to fix lint

* changes to lint errors

* chanegs to fix lint

* chanegs to fix lint

Co-authored-by: root <root@MININT-F8K8E41.fareast.corp.microsoft.com>
Co-authored-by: Yamuna Ravichandran <yaravich@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong API version on Authorization swaggers

6 participants