Skip to content

Commit

Permalink
fix incorrect error property in async-operationstatus response (#26436)
Browse files Browse the repository at this point in the history
Co-authored-by: James Duan <jduan@microsoft.com>
  • Loading branch information
MasterRyd3l and James Duan authored Nov 1, 2023
1 parent 6963bf0 commit 80a4872
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@
"OperationStatus": {
"description": "The status of operation.",
"type": "object",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
],
"properties": {
"id": {
"type": "string",
Expand All @@ -109,11 +114,6 @@
"status": {
"type": "string",
"description": "The status of the operation."
},
"error": {
"type": "object",
"description": "The error detail of the operation if any.",
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@
"OperationStatus": {
"description": "The status of operation.",
"type": "object",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
],
"properties": {
"id": {
"type": "string",
Expand All @@ -109,11 +114,6 @@
"status": {
"type": "string",
"description": "The status of the operation."
},
"error": {
"type": "object",
"description": "The error detail of the operation if any.",
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@
"OperationStatus": {
"description": "The status of operation.",
"type": "object",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
],
"properties": {
"id": {
"type": "string",
Expand All @@ -109,11 +114,6 @@
"status": {
"type": "string",
"description": "The status of the operation."
},
"error": {
"type": "object",
"description": "The error detail of the operation if any.",
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
}
Expand Down

0 comments on commit 80a4872

Please sign in to comment.