Skip to content

Commit

Permalink
Removing refs to ErrorResponse and removing new props from CloudError…
Browse files Browse the repository at this point in the history
…Body
  • Loading branch information
nichatur committed Feb 3, 2021
1 parent 0c7a261 commit a955700
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
"$ref": "#/definitions/CloudError"
}
}
}
Expand Down Expand Up @@ -454,7 +454,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
"$ref": "#/definitions/CloudError"
}
}
}
Expand Down Expand Up @@ -4477,7 +4477,7 @@
"$ref": "#/definitions/CloudErrorBody"
}
},
"description": "An error response from the Storage service."
"description": "An error response from the Cosmos DB service."
},
"CloudErrorBody": {
"x-ms-external": true,
Expand All @@ -4489,20 +4489,9 @@
"message": {
"type": "string",
"description": "A message describing the error, intended to be suitable for display in a user interface."
},
"target": {
"type": "string",
"description": "The target of the particular error. For example, the name of the property in error."
},
"details": {
"type": "array",
"items": {
"$ref": "#/definitions/CloudErrorBody"
},
"description": "A list of additional details about the error."
}
},
"description": "An error response from the Storage service."
"description": "An error response from the Cosmos DB service."
},
"FailoverPolicies": {
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../preview/2020-06-01-preview/cosmos-db.json#/definitions/ErrorResponse"
"$ref": "cosmos-db.json#/definitions/CloudError"
}
}
},
Expand Down Expand Up @@ -113,7 +113,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../preview/2020-06-01-preview/cosmos-db.json#/definitions/ErrorResponse"
"$ref": "cosmos-db.json#/definitions/CloudError"
}
}
},
Expand Down Expand Up @@ -166,7 +166,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../preview/2020-06-01-preview/cosmos-db.json#/definitions/ErrorResponse"
"$ref": "cosmos-db.json#/definitions/CloudError"
}
}
},
Expand Down Expand Up @@ -210,7 +210,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../preview/2020-06-01-preview/cosmos-db.json#/definitions/ErrorResponse"
"$ref": "cosmos-db.json#/definitions/CloudError"
}
}
},
Expand Down Expand Up @@ -260,7 +260,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../preview/2020-06-01-preview/cosmos-db.json#/definitions/ErrorResponse"
"$ref": "cosmos-db.json#/definitions/CloudError"
}
}
}
Expand Down Expand Up @@ -306,7 +306,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../preview/2020-06-01-preview/cosmos-db.json#/definitions/ErrorResponse"
"$ref": "cosmos-db.json#/definitions/CloudError"
}
}
}
Expand Down Expand Up @@ -352,7 +352,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../preview/2020-06-01-preview/cosmos-db.json#/definitions/ErrorResponse"
"$ref": "cosmos-db.json#/definitions/CloudError"
}
}
}
Expand Down

0 comments on commit a955700

Please sign in to comment.