Skip to content

Commit

Permalink
separated different error responses (#8881)
Browse files Browse the repository at this point in the history
  • Loading branch information
iscai-msft authored Jul 1, 2020
1 parent 244d9a0 commit 4646a57
Show file tree
Hide file tree
Showing 8 changed files with 85 additions and 85 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
},
Expand Down Expand Up @@ -159,7 +159,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
},
Expand Down Expand Up @@ -198,7 +198,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
},
Expand Down Expand Up @@ -234,7 +234,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
},
Expand Down Expand Up @@ -273,7 +273,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
},
Expand Down Expand Up @@ -344,7 +344,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
},
Expand Down Expand Up @@ -390,7 +390,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
},
Expand Down Expand Up @@ -435,7 +435,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
},
Expand Down Expand Up @@ -471,7 +471,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
},
Expand Down Expand Up @@ -808,7 +808,7 @@
"value"
]
},
"errorResponse": {
"AlertsManagementErrorResponse": {
"description": "An error response from the service.",
"x-ms-external": true,
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
},
Expand Down Expand Up @@ -159,7 +159,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
},
Expand Down Expand Up @@ -198,7 +198,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
},
Expand Down Expand Up @@ -234,7 +234,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
},
Expand Down Expand Up @@ -273,7 +273,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
},
Expand Down Expand Up @@ -344,7 +344,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
},
Expand Down Expand Up @@ -390,7 +390,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
},
Expand Down Expand Up @@ -435,7 +435,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
},
Expand Down Expand Up @@ -471,7 +471,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
},
Expand Down Expand Up @@ -523,7 +523,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
}
Expand Down Expand Up @@ -573,7 +573,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
}
Expand Down Expand Up @@ -615,7 +615,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
}
Expand Down Expand Up @@ -664,7 +664,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
}
Expand Down Expand Up @@ -701,7 +701,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
}
Expand Down Expand Up @@ -747,7 +747,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
}
Expand Down Expand Up @@ -1086,7 +1086,7 @@
"value"
]
},
"errorResponse": {
"AlertsManagementErrorResponse": {
"description": "An error response from the service.",
"x-ms-external": true,
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
},
Expand Down Expand Up @@ -171,7 +171,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
},
Expand Down Expand Up @@ -210,7 +210,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
},
Expand Down Expand Up @@ -246,7 +246,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
},
Expand Down Expand Up @@ -315,7 +315,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
},
Expand Down Expand Up @@ -386,7 +386,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
},
Expand Down Expand Up @@ -432,7 +432,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
},
Expand Down Expand Up @@ -477,7 +477,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
},
Expand Down Expand Up @@ -513,7 +513,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/errorResponse"
"$ref": "#/definitions/AlertsManagementErrorResponse"
}
}
},
Expand Down Expand Up @@ -919,7 +919,7 @@
"value"
]
},
"errorResponse": {
"AlertsManagementErrorResponse": {
"description": "An error response from the service.",
"x-ms-external": true,
"properties": {
Expand Down
Loading

0 comments on commit 4646a57

Please sign in to comment.