Skip to content

Commit

Permalink
Rename ErrorSchema to ErrorResponse. Rename Error to ErrorResponseBod…
Browse files Browse the repository at this point in the history
…y. Rename Status to ConnectionStatus. (#8827)
  • Loading branch information
huanwu authored Mar 25, 2020
1 parent 1946b89 commit 3151125
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"default": {
"description": "Error response describing why the operation failed. If the registry/agentpool doesn't exist, 404 (Not found) is returned.",
"schema": {
"$ref": "#/definitions/ErrorSchema"
"$ref": "#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -108,7 +108,7 @@
"default": {
"description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned. If any of the input parameters is wrong, 400(Bad Request) is returned.",
"schema": {
"$ref": "#/definitions/ErrorSchema"
"$ref": "#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -155,7 +155,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorSchema"
"$ref": "#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -214,7 +214,7 @@
"default": {
"description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned. If any of the input parameters is wrong, 400(Bad Request) is returned.",
"schema": {
"$ref": "#/definitions/ErrorSchema"
"$ref": "#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -257,7 +257,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorSchema"
"$ref": "#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -305,7 +305,7 @@
"default": {
"description": "Error response describing why the operation failed. If the registry/agentpool doesn't exist, 404 (Not found) is returned.",
"schema": {
"$ref": "#/definitions/ErrorSchema"
"$ref": "#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -359,7 +359,7 @@
"default": {
"description": "Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned. If any of the input parameters is wrong, 400(Bad Request) is returned.",
"schema": {
"$ref": "#/definitions/ErrorSchema"
"$ref": "#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -417,7 +417,7 @@
"default": {
"description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned.",
"schema": {
"$ref": "#/definitions/ErrorSchema"
"$ref": "#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -474,7 +474,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorSchema"
"$ref": "#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -527,7 +527,7 @@
"default": {
"description": "Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned.",
"schema": {
"$ref": "#/definitions/ErrorSchema"
"$ref": "#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -589,7 +589,7 @@
"default": {
"description": "Error response describing why the operation failed. If the registry/build doesn't exist, 404 (Not found) is returned. If any of the input parameters is wrong, 400(Bad Request) is returned.",
"schema": {
"$ref": "#/definitions/ErrorSchema"
"$ref": "#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -639,7 +639,7 @@
"default": {
"description": "Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned.",
"schema": {
"$ref": "#/definitions/ErrorSchema"
"$ref": "#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -688,7 +688,7 @@
"default": {
"description": "Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned.",
"schema": {
"$ref": "#/definitions/ErrorSchema"
"$ref": "#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -738,7 +738,7 @@
"default": {
"description": "Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned.",
"schema": {
"$ref": "#/definitions/ErrorSchema"
"$ref": "#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -800,7 +800,7 @@
"default": {
"description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned. If any of the input parameters is wrong, 400(Bad Request) is returned.",
"schema": {
"$ref": "#/definitions/ErrorSchema"
"$ref": "#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -851,7 +851,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorSchema"
"$ref": "#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -914,7 +914,7 @@
"default": {
"description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned. If any of the input parameters is wrong, 400(Bad Request) is returned.",
"schema": {
"$ref": "#/definitions/ErrorSchema"
"$ref": "#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -964,7 +964,7 @@
"default": {
"description": "Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned.",
"schema": {
"$ref": "#/definitions/ErrorSchema"
"$ref": "#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -1006,7 +1006,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorSchema"
"$ref": "#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -1051,7 +1051,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorSchema"
"$ref": "#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -1099,7 +1099,7 @@
"default": {
"description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned.",
"schema": {
"$ref": "#/definitions/ErrorSchema"
"$ref": "#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -1157,7 +1157,7 @@
"default": {
"description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned. If any of the input parameters is wrong, 400(Bad Request) is returned.",
"schema": {
"$ref": "#/definitions/ErrorSchema"
"$ref": "#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -1213,7 +1213,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorSchema"
"$ref": "#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -1272,7 +1272,7 @@
"default": {
"description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned. If any of the input parameters is wrong, 400(Bad Request) is returned.",
"schema": {
"$ref": "#/definitions/ErrorSchema"
"$ref": "#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -1327,7 +1327,7 @@
"default": {
"description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned.",
"schema": {
"$ref": "#/definitions/ErrorSchema"
"$ref": "#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -2980,7 +2980,7 @@
},
"x-ms-azure-resource": true
},
"Error": {
"ErrorResponseBody": {
"description": "An error response from the Azure Container Registry service.",
"required": [
"code",
Expand All @@ -2997,11 +2997,11 @@
}
}
},
"ErrorSchema": {
"ErrorResponse": {
"description": "An error response from the Azure Container Registry service.",
"properties": {
"error": {
"$ref": "#/definitions/Error",
"$ref": "#/definitions/ErrorResponseBody",
"description": "Azure container registry build API error body."
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1588,7 +1588,7 @@
],
"type": "string",
"x-ms-enum": {
"name": "Status",
"name": "ConnectionStatus",
"modelAsString": true
}
},
Expand Down

0 comments on commit 3151125

Please sign in to comment.