From 7ed3e1f1cfdfe59006799a36d6184e87b59f2b02 Mon Sep 17 00:00:00 2001 From: Jeff Hackshaw Date: Thu, 25 Mar 2021 17:19:26 -0700 Subject: [PATCH] remove custom error --- .../authorization-RoleAssignmentsCalls.json | 23 ------------------- .../examples/PutRoleAssignment.json | 5 ---- .../examples/PutRoleAssignmentById.json | 5 ---- 3 files changed, 33 deletions(-) diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2020-04-01-preview/authorization-RoleAssignmentsCalls.json b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2020-04-01-preview/authorization-RoleAssignmentsCalls.json index 07214ae149cf..f887263b7292 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2020-04-01-preview/authorization-RoleAssignmentsCalls.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2020-04-01-preview/authorization-RoleAssignmentsCalls.json @@ -252,13 +252,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": { @@ -397,13 +390,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": { @@ -558,15 +544,6 @@ } }, "definitions": { - "CustomErrorResponse": { - "properties": { - "message": { - "type": "string", - "description": "Description of the error." - } - }, - "description": "Descriptive error response." - }, "RoleAssignmentFilter": { "properties": { "principalId": { diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2020-04-01-preview/examples/PutRoleAssignment.json b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2020-04-01-preview/examples/PutRoleAssignment.json index cd628b536a42..c87cfe4307e7 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2020-04-01-preview/examples/PutRoleAssignment.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2020-04-01-preview/examples/PutRoleAssignment.json @@ -32,11 +32,6 @@ "type": "Microsoft.Authorization/roleAssignments", "name": "roleassignmentId" } - }, - "500": { - "body": { - "message": "Something went wrong." - } } } } diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2020-04-01-preview/examples/PutRoleAssignmentById.json b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2020-04-01-preview/examples/PutRoleAssignmentById.json index 7e84f0089ef7..965fb76e36b5 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2020-04-01-preview/examples/PutRoleAssignmentById.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2020-04-01-preview/examples/PutRoleAssignmentById.json @@ -32,11 +32,6 @@ "type": "Microsoft.Authorization/roleAssignments", "name": "roleassignmentId" } - }, - "500": { - "body": { - "message": "Something went wrong." - } } } }