Skip to content

Commit

Permalink
Add missing default error responses (Azure#12477)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiacheng-L authored and mkarmark committed Jul 20, 2021
1 parent 4daf0ba commit 766ceff
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,12 @@
"schema": {
"$ref": "#/definitions/VaultListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "common.json#/definitions/CloudError"
}
}
},
"x-ms-pageable": {
Expand Down Expand Up @@ -489,6 +495,12 @@
"schema": {
"$ref": "#/definitions/VaultListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "common.json#/definitions/CloudError"
}
}
},
"x-ms-pageable": {
Expand Down Expand Up @@ -528,6 +540,12 @@
"schema": {
"$ref": "#/definitions/DeletedVaultListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "common.json#/definitions/CloudError"
}
}
},
"x-ms-pageable": {
Expand Down Expand Up @@ -718,6 +736,12 @@
"schema": {
"$ref": "#/definitions/ResourceListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "common.json#/definitions/CloudError"
}
}
},
"x-ms-pageable": {
Expand Down Expand Up @@ -763,6 +787,12 @@
"schema": {
"$ref": "#/definitions/CheckNameAvailabilityResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "common.json#/definitions/CloudError"
}
}
},
"x-ms-examples": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@
"schema": {
"$ref": "#/definitions/OperationListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "common.json#/definitions/CloudError"
}
}
},
"x-ms-pageable": {
Expand Down

0 comments on commit 766ceff

Please sign in to comment.