Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename ErrorSchema to ErrorResponse. Rename Error to ErrorResponseBod… #8827

Merged
merged 1 commit into from
Mar 25, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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