Skip to content

Commit

Permalink
parameter name correction (#13554)
Browse files Browse the repository at this point in the history
* parameter name correction

* remove custom error
  • Loading branch information
jdhms authored Mar 30, 2021
1 parent 01764cf commit 4270bed
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 80 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -249,13 +249,6 @@
"$ref": "#/definitions/RoleAssignment"
}
},
"500": {
"x-ms-error-response": true,
"description": "Error.",
"schema": {
"$ref": "#/definitions/CustomErrorResponse"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
Expand Down Expand Up @@ -344,13 +337,6 @@
"$ref": "#/definitions/ValidationResponse"
}
},
"500": {
"x-ms-error-response": true,
"description": "Error.",
"schema": {
"$ref": "#/definitions/CustomErrorResponse"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
Expand Down Expand Up @@ -476,13 +462,6 @@
"$ref": "#/definitions/RoleAssignment"
}
},
"500": {
"x-ms-error-response": true,
"description": "Error.",
"schema": {
"$ref": "#/definitions/CustomErrorResponse"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
Expand Down Expand Up @@ -559,13 +538,6 @@
"$ref": "#/definitions/ValidationResponse"
}
},
"500": {
"x-ms-error-response": true,
"description": "Error.",
"schema": {
"$ref": "#/definitions/CustomErrorResponse"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
Expand All @@ -585,15 +557,6 @@
}
},
"definitions": {
"CustomErrorResponse": {
"properties": {
"message": {
"type": "string",
"description": "Description of the error."
}
},
"description": "Descriptive error response."
},
"ValidationResponseErrorInfo": {
"description": "Failed validation result details",
"properties": {
Expand All @@ -617,7 +580,7 @@
"type": "boolean",
"description": "Whether or not validation succeeded"
},
"validationErrorInfo": {
"errorInfo": {
"description": "Failed validation result details",
"$ref": "#/definitions/ValidationResponseErrorInfo"
}
Expand Down Expand Up @@ -652,6 +615,7 @@
"RoleAssignmentProperties": {
"properties": {
"scope": {
"readOnly": true,
"type": "string",
"description": "The role assignment scope."
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@
"type": "Microsoft.Authorization/roleAssignments",
"name": "b0f43c54-e787-4862-89b1-a653fa9cf747"
}
},
"500": {
"body": {
"message": "Something went wrong."
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@
"type": "Microsoft.Authorization/roleAssignments",
"name": "05c5a614-a7d6-4502-b150-c2fb455033ff"
}
},
"500": {
"body": {
"message": "Something went wrong."
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@
"type": "Microsoft.Authorization/roleAssignments",
"name": "05c5a614-a7d6-4502-b150-c2fb455033ff"
}
},
"500": {
"body": {
"message": "Something went wrong."
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@
"type": "Microsoft.Authorization/roleAssignments",
"name": "05c5a614-a7d6-4502-b150-c2fb455033ff"
}
},
"500": {
"body": {
"message": "Something went wrong."
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,11 @@
"200": {
"body": {
"isValid": false,
"validationErrorInfo": {
"errorInfo": {
"code": "InvalidRoleDefinitionId",
"message": "The specified role definition with ID '0b5fe924-9a61-425c-96af-cfe6e287ca2d' does not exist."
}
}
},
"500": {
"body": {
"message": "Something went wrong."
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@
"body": {
"isValid": true
}
},
"500": {
"body": {
"message": "Something went wrong."
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,11 @@
"200": {
"body": {
"isValid": false,
"validationErrorInfo": {
"errorInfo": {
"code": "InvalidRoleDefinitionId",
"message": "The specified role definition with ID '0b5fe924-9a61-425c-96af-cfe6e287ca2d' does not exist."
}
}
},
"500": {
"body": {
"message": "Something went wrong."
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@
"body": {
"isValid": true
}
},
"500": {
"body": {
"message": "Something went wrong."
}
}
}
}

0 comments on commit 4270bed

Please sign in to comment.