ManagementGroups API update (2017-11-01-preview)#2094
ManagementGroups API update (2017-11-01-preview)#2094jhendrixMSFT merged 10 commits intoAzure:masterfrom grzegorzzygmunt:current
Conversation
| "tags": [ | ||
| "ManagementGroups" | ||
| ], | ||
| "operationId": "ManagementGroups_Create", |
There was a problem hiding this comment.
For methods like this the convention is to name them CreateOrUpdate.
| "$ref": "#/parameters/ApiVersionParameter" | ||
| } | ||
| ], | ||
| "responses": { |
| } | ||
| } | ||
| }, | ||
| "/providers/Microsoft.Management/managementGroups/{groupId}/subscriptions/{subscriptionId}": { |
There was a problem hiding this comment.
Just trying to remember what we discussed - did we say we wont expose GET API through this path?
There was a problem hiding this comment.
Added GET API to make things consistent.
|
Ping @grzegorzzygmunt, have you had a chance to review @ravbhatnagar feedback? |
|
Latest iteration has some linter errors, can you please take a look? https://travis-ci.org/Azure/azure-rest-api-specs/jobs/315603525 |
| } | ||
| } | ||
| }, | ||
| "ManagementGroupChildInfo": { |
There was a problem hiding this comment.
Please add id, name and type top level properties for this.
There was a problem hiding this comment.
Removing GET for now to match private preview API release. GET for the subscription under management group will be added in the next version of the API.
There was a problem hiding this comment.
@ravbhatnagar Mind confirming whether or not this is sufficient?
|
@jhendrixMSFT - good to merge after the above issue raised by me has been fixed. |
This is in keeping with the guidelines established in December of 2017.
|
Looking for this to be reassigned due to the load of PRs I'm taking on in regards to the December refactoring. |
|
@grzegorzzygmunt Looks like the feedback from @ravbhatnagar hasn't been addressed yet. |
|
This looks good. Please confirm with @grzegorzzygmunt if this is the current shape of the APIs or have there been any changes. From talking with some folks on the Management groups team, there may have been some changes. Good to merge if we get confirmation from @grzegorzzygmunt |
|
@grzegorzzygmunt I think the only remaining thing is to update the readme, or was that intentionally omitted? |
|
Ping @grzegorzzygmunt do you intend to update the readme? |
|
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. |
|
It appears that there are two copies of management.json.
|
|
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. |
|
@amarzavery @mcardosos I'm unsure how to handle this model validation error. It looks related to issue Azure/oav#155 which has since been closed (fixed?). Are we supposed to add x-nullable: true to the swagger? |
|
I tried adding |
|
@mcardosos thanks for investigating, I've opened issue Azure/oav#198 to track it. |
|
Was unable to find SDK Azure/azure-sdk-for-python PR for this closed PR. |
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