Skip to content

Commit

Permalink
[SRP] Add default response status code (#8065)
Browse files Browse the repository at this point in the history
* [SRP] Add response status code 404

* Add default response
  • Loading branch information
zfchen95 authored and weidongxu-microsoft committed Jan 7, 2020
1 parent 2f1a4ad commit f7475a7
Showing 1 changed file with 36 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,12 @@
},
"202": {
"description": "Accepted -- Create or update request accepted; operation will complete asynchronously."
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
},
"x-ms-long-running-operation": true
Expand Down Expand Up @@ -245,6 +251,12 @@
"schema": {
"$ref": "#/definitions/StorageAccount"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
},
Expand Down Expand Up @@ -291,6 +303,12 @@
"schema": {
"$ref": "#/definitions/StorageAccount"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
}
Expand Down Expand Up @@ -457,6 +475,12 @@
"schema": {
"$ref": "#/definitions/StorageAccountListKeysResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
}
Expand Down Expand Up @@ -666,6 +690,12 @@
"schema": {
"$ref": "#/definitions/ManagementPolicy"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
},
Expand Down Expand Up @@ -712,6 +742,12 @@
"schema": {
"$ref": "#/definitions/ManagementPolicy"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
},
Expand Down

0 comments on commit f7475a7

Please sign in to comment.