Skip to content

Commit 80e57db

Browse files
committed
Rename ErrorSchema to ErrorResponse. Rename Error to ErrorResponseBody. Rename Status to ConnectionStatus.
1 parent 3f6ccfb commit 80e57db

File tree

2 files changed

+29
-29
lines changed

2 files changed

+29
-29
lines changed

specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"default": {
5151
"description": "Error response describing why the operation failed. If the registry/agentpool doesn't exist, 404 (Not found) is returned.",
5252
"schema": {
53-
"$ref": "#/definitions/ErrorSchema"
53+
"$ref": "#/definitions/ErrorResponse"
5454
}
5555
}
5656
},
@@ -108,7 +108,7 @@
108108
"default": {
109109
"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.",
110110
"schema": {
111-
"$ref": "#/definitions/ErrorSchema"
111+
"$ref": "#/definitions/ErrorResponse"
112112
}
113113
}
114114
},
@@ -155,7 +155,7 @@
155155
"default": {
156156
"description": "Error response describing why the operation failed.",
157157
"schema": {
158-
"$ref": "#/definitions/ErrorSchema"
158+
"$ref": "#/definitions/ErrorResponse"
159159
}
160160
}
161161
},
@@ -214,7 +214,7 @@
214214
"default": {
215215
"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.",
216216
"schema": {
217-
"$ref": "#/definitions/ErrorSchema"
217+
"$ref": "#/definitions/ErrorResponse"
218218
}
219219
}
220220
},
@@ -257,7 +257,7 @@
257257
"default": {
258258
"description": "Error response describing why the operation failed.",
259259
"schema": {
260-
"$ref": "#/definitions/ErrorSchema"
260+
"$ref": "#/definitions/ErrorResponse"
261261
}
262262
}
263263
},
@@ -305,7 +305,7 @@
305305
"default": {
306306
"description": "Error response describing why the operation failed. If the registry/agentpool doesn't exist, 404 (Not found) is returned.",
307307
"schema": {
308-
"$ref": "#/definitions/ErrorSchema"
308+
"$ref": "#/definitions/ErrorResponse"
309309
}
310310
}
311311
},
@@ -359,7 +359,7 @@
359359
"default": {
360360
"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.",
361361
"schema": {
362-
"$ref": "#/definitions/ErrorSchema"
362+
"$ref": "#/definitions/ErrorResponse"
363363
}
364364
}
365365
},
@@ -417,7 +417,7 @@
417417
"default": {
418418
"description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned.",
419419
"schema": {
420-
"$ref": "#/definitions/ErrorSchema"
420+
"$ref": "#/definitions/ErrorResponse"
421421
}
422422
}
423423
},
@@ -474,7 +474,7 @@
474474
"default": {
475475
"description": "Error response describing why the operation failed.",
476476
"schema": {
477-
"$ref": "#/definitions/ErrorSchema"
477+
"$ref": "#/definitions/ErrorResponse"
478478
}
479479
}
480480
},
@@ -527,7 +527,7 @@
527527
"default": {
528528
"description": "Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned.",
529529
"schema": {
530-
"$ref": "#/definitions/ErrorSchema"
530+
"$ref": "#/definitions/ErrorResponse"
531531
}
532532
}
533533
},
@@ -589,7 +589,7 @@
589589
"default": {
590590
"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.",
591591
"schema": {
592-
"$ref": "#/definitions/ErrorSchema"
592+
"$ref": "#/definitions/ErrorResponse"
593593
}
594594
}
595595
},
@@ -639,7 +639,7 @@
639639
"default": {
640640
"description": "Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned.",
641641
"schema": {
642-
"$ref": "#/definitions/ErrorSchema"
642+
"$ref": "#/definitions/ErrorResponse"
643643
}
644644
}
645645
},
@@ -688,7 +688,7 @@
688688
"default": {
689689
"description": "Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned.",
690690
"schema": {
691-
"$ref": "#/definitions/ErrorSchema"
691+
"$ref": "#/definitions/ErrorResponse"
692692
}
693693
}
694694
},
@@ -738,7 +738,7 @@
738738
"default": {
739739
"description": "Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned.",
740740
"schema": {
741-
"$ref": "#/definitions/ErrorSchema"
741+
"$ref": "#/definitions/ErrorResponse"
742742
}
743743
}
744744
},
@@ -800,7 +800,7 @@
800800
"default": {
801801
"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.",
802802
"schema": {
803-
"$ref": "#/definitions/ErrorSchema"
803+
"$ref": "#/definitions/ErrorResponse"
804804
}
805805
}
806806
},
@@ -851,7 +851,7 @@
851851
"default": {
852852
"description": "Error response describing why the operation failed.",
853853
"schema": {
854-
"$ref": "#/definitions/ErrorSchema"
854+
"$ref": "#/definitions/ErrorResponse"
855855
}
856856
}
857857
},
@@ -914,7 +914,7 @@
914914
"default": {
915915
"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.",
916916
"schema": {
917-
"$ref": "#/definitions/ErrorSchema"
917+
"$ref": "#/definitions/ErrorResponse"
918918
}
919919
}
920920
},
@@ -964,7 +964,7 @@
964964
"default": {
965965
"description": "Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned.",
966966
"schema": {
967-
"$ref": "#/definitions/ErrorSchema"
967+
"$ref": "#/definitions/ErrorResponse"
968968
}
969969
}
970970
},
@@ -1006,7 +1006,7 @@
10061006
"default": {
10071007
"description": "Error response describing why the operation failed.",
10081008
"schema": {
1009-
"$ref": "#/definitions/ErrorSchema"
1009+
"$ref": "#/definitions/ErrorResponse"
10101010
}
10111011
}
10121012
},
@@ -1051,7 +1051,7 @@
10511051
"default": {
10521052
"description": "Error response describing why the operation failed.",
10531053
"schema": {
1054-
"$ref": "#/definitions/ErrorSchema"
1054+
"$ref": "#/definitions/ErrorResponse"
10551055
}
10561056
}
10571057
},
@@ -1099,7 +1099,7 @@
10991099
"default": {
11001100
"description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned.",
11011101
"schema": {
1102-
"$ref": "#/definitions/ErrorSchema"
1102+
"$ref": "#/definitions/ErrorResponse"
11031103
}
11041104
}
11051105
},
@@ -1157,7 +1157,7 @@
11571157
"default": {
11581158
"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.",
11591159
"schema": {
1160-
"$ref": "#/definitions/ErrorSchema"
1160+
"$ref": "#/definitions/ErrorResponse"
11611161
}
11621162
}
11631163
},
@@ -1213,7 +1213,7 @@
12131213
"default": {
12141214
"description": "Error response describing why the operation failed.",
12151215
"schema": {
1216-
"$ref": "#/definitions/ErrorSchema"
1216+
"$ref": "#/definitions/ErrorResponse"
12171217
}
12181218
}
12191219
},
@@ -1272,7 +1272,7 @@
12721272
"default": {
12731273
"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.",
12741274
"schema": {
1275-
"$ref": "#/definitions/ErrorSchema"
1275+
"$ref": "#/definitions/ErrorResponse"
12761276
}
12771277
}
12781278
},
@@ -1327,7 +1327,7 @@
13271327
"default": {
13281328
"description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned.",
13291329
"schema": {
1330-
"$ref": "#/definitions/ErrorSchema"
1330+
"$ref": "#/definitions/ErrorResponse"
13311331
}
13321332
}
13331333
},
@@ -2980,7 +2980,7 @@
29802980
},
29812981
"x-ms-azure-resource": true
29822982
},
2983-
"Error": {
2983+
"ErrorResponseBody": {
29842984
"description": "An error response from the Azure Container Registry service.",
29852985
"required": [
29862986
"code",
@@ -2997,11 +2997,11 @@
29972997
}
29982998
}
29992999
},
3000-
"ErrorSchema": {
3000+
"ErrorResponse": {
30013001
"description": "An error response from the Azure Container Registry service.",
30023002
"properties": {
30033003
"error": {
3004-
"$ref": "#/definitions/Error",
3004+
"$ref": "#/definitions/ErrorResponseBody",
30053005
"description": "Azure container registry build API error body."
30063006
}
30073007
}

specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-12-01-preview/containerregistry.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1588,7 +1588,7 @@
15881588
],
15891589
"type": "string",
15901590
"x-ms-enum": {
1591-
"name": "Status",
1591+
"name": "ConnectionStatus",
15921592
"modelAsString": true
15931593
}
15941594
},

0 commit comments

Comments
 (0)