-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Fix issues in mgmt group swaggers which result in problematic SDKs #12488
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
94d6e1c
fix issue in 2020-02-01
ArcturusZhang 56b37bf
fix issue in 2020-05-01
ArcturusZhang 1891036
fix model validation
ArcturusZhang aec1a39
fix prettier
ArcturusZhang 4e39234
revert some removal of x-ms-parameter-location
ArcturusZhang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1971,7 +1971,7 @@ | |
"schema": { | ||
"$ref": "#/definitions/CreateManagementGroupRequest" | ||
}, | ||
"x-ms-parameter-location": "client" | ||
"x-ms-parameter-location": "method" | ||
}, | ||
"PatchGroupRequestParameter": { | ||
"name": "patchGroupRequest", | ||
|
@@ -1981,7 +1981,7 @@ | |
"schema": { | ||
"$ref": "#/definitions/PatchManagementGroupRequest" | ||
}, | ||
"x-ms-parameter-location": "client" | ||
"x-ms-parameter-location": "method" | ||
}, | ||
"FilterParameter": { | ||
"name": "$filter", | ||
|
@@ -2038,19 +2038,7 @@ | |
"schema": { | ||
"$ref": "#/definitions/CreateOrUpdateSettingsRequest" | ||
}, | ||
"x-ms-parameter-location": "client" | ||
}, | ||
"OperationResultIdParameter": { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This parameter is removed because there is no reference of this within the scope of this RP. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This causes lint errors. Can you double check? |
||
"name": "operationResultId", | ||
"in": "path", | ||
"required": true, | ||
"type": "string", | ||
"enum": [ | ||
"create", | ||
"delete" | ||
], | ||
"description": "The id of the operation result.", | ||
"x-ms-parameter-location": "client" | ||
"x-ms-parameter-location": "method" | ||
}, | ||
"CheckNameAvailabilityParameter": { | ||
"name": "checkNameAvailabilityRequest", | ||
|
@@ -2060,31 +2048,31 @@ | |
"schema": { | ||
"$ref": "#/definitions/CheckNameAvailabilityRequest" | ||
}, | ||
"x-ms-parameter-location": "client" | ||
"x-ms-parameter-location": "method" | ||
}, | ||
"SkipParameter": { | ||
"name": "$skip", | ||
"in": "query", | ||
"required": false, | ||
"type": "integer", | ||
"description": "Number of entities to skip over when retrieving results. Passing this in will override $skipToken.", | ||
"x-ms-parameter-location": "client" | ||
"x-ms-parameter-location": "method" | ||
}, | ||
"TopParameter": { | ||
"name": "$top", | ||
"in": "query", | ||
"required": false, | ||
"type": "integer", | ||
"description": "Number of elements to return when retrieving results. Passing this in will override $skipToken.", | ||
"x-ms-parameter-location": "client" | ||
"x-ms-parameter-location": "method" | ||
}, | ||
"SkipTokenParameter": { | ||
"name": "$skiptoken", | ||
"in": "query", | ||
"required": false, | ||
"type": "string", | ||
"description": "Page continuation token is only used if a previous operation returned a partial result. \nIf a previous response contains a nextLink element, the value of the nextLink element will include a token parameter that specifies a starting point to use for subsequent calls.\n", | ||
"x-ms-parameter-location": "client" | ||
"x-ms-parameter-location": "method" | ||
}, | ||
"CacheControlHeader": { | ||
"name": "Cache-Control", | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have to change this, because by design, the type of a resource should be in plural form. This must be a mistake.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we ask service team to double confirm it is really typo?