Skip to content

Commit 3429a34

Browse files
committed
Common Error Response (Azure#28408)
1 parent b2fcbcc commit 3429a34

49 files changed

Lines changed: 568 additions & 568 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/apimallpolicies.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"default": {
7171
"description": "Error response describing why the operation failed.",
7272
"schema": {
73-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
73+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
7474
}
7575
}
7676
},

specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/apimapis.json

Lines changed: 91 additions & 91 deletions
Large diffs are not rendered by default.

specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/apimapisByTags.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
"default": {
9191
"description": "Error response describing why the operation failed.",
9292
"schema": {
93-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
93+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
9494
}
9595
}
9696
},

specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/apimapiversionsets.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"default": {
8484
"description": "Error response describing why the operation failed.",
8585
"schema": {
86-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
86+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
8787
}
8888
}
8989
},
@@ -135,7 +135,7 @@
135135
"default": {
136136
"description": "Error response describing why the operation failed.",
137137
"schema": {
138-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
138+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
139139
}
140140
}
141141
}
@@ -184,7 +184,7 @@
184184
"default": {
185185
"description": "Error response describing why the operation failed.",
186186
"schema": {
187-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
187+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
188188
}
189189
}
190190
}
@@ -257,7 +257,7 @@
257257
"default": {
258258
"description": "Error response describing why the operation failed.",
259259
"schema": {
260-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
260+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
261261
}
262262
}
263263
}
@@ -318,7 +318,7 @@
318318
"default": {
319319
"description": "Error response describing why the operation failed.",
320320
"schema": {
321-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
321+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
322322
}
323323
}
324324
}
@@ -364,7 +364,7 @@
364364
"default": {
365365
"description": "Error response describing why the operation failed.",
366366
"schema": {
367-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
367+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
368368
}
369369
}
370370
}

specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/apimauthorizationproviders.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"default": {
8484
"description": "Error response describing why the operation failed.",
8585
"schema": {
86-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
86+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
8787
}
8888
}
8989
},
@@ -138,7 +138,7 @@
138138
"default": {
139139
"description": "Error response describing why the operation failed.",
140140
"schema": {
141-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
141+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
142142
}
143143
}
144144
}
@@ -220,7 +220,7 @@
220220
"default": {
221221
"description": "Error response describing why the operation failed.",
222222
"schema": {
223-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
223+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
224224
}
225225
}
226226
}
@@ -266,7 +266,7 @@
266266
"default": {
267267
"description": "Error response describing why the operation failed.",
268268
"schema": {
269-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
269+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
270270
}
271271
}
272272
}
@@ -327,7 +327,7 @@
327327
"default": {
328328
"description": "Error response describing why the operation failed.",
329329
"schema": {
330-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
330+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
331331
}
332332
}
333333
},
@@ -385,7 +385,7 @@
385385
"default": {
386386
"description": "Error response describing why the operation failed.",
387387
"schema": {
388-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
388+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
389389
}
390390
}
391391
}
@@ -464,7 +464,7 @@
464464
"default": {
465465
"description": "Error response describing why the operation failed.",
466466
"schema": {
467-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
467+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
468468
}
469469
}
470470
}
@@ -513,7 +513,7 @@
513513
"default": {
514514
"description": "Error response describing why the operation failed.",
515515
"schema": {
516-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
516+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
517517
}
518518
}
519519
}
@@ -576,7 +576,7 @@
576576
"default": {
577577
"description": "Error response describing why the operation failed.",
578578
"schema": {
579-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
579+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
580580
}
581581
}
582582
}
@@ -636,7 +636,7 @@
636636
"default": {
637637
"description": "Error response describing why the operation failed.",
638638
"schema": {
639-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
639+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
640640
}
641641
}
642642
}
@@ -697,7 +697,7 @@
697697
"default": {
698698
"description": "Error response describing why the operation failed.",
699699
"schema": {
700-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
700+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
701701
}
702702
}
703703
},
@@ -758,7 +758,7 @@
758758
"default": {
759759
"description": "Error response describing why the operation failed.",
760760
"schema": {
761-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
761+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
762762
}
763763
}
764764
}
@@ -837,7 +837,7 @@
837837
"default": {
838838
"description": "Error response describing why the operation failed.",
839839
"schema": {
840-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
840+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
841841
}
842842
}
843843
}
@@ -889,7 +889,7 @@
889889
"default": {
890890
"description": "Error response describing why the operation failed.",
891891
"schema": {
892-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
892+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
893893
}
894894
}
895895
}

specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/apimauthorizationservers.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"default": {
8484
"description": "Error response describing why the operation failed.",
8585
"schema": {
86-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
86+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
8787
}
8888
}
8989
},
@@ -135,7 +135,7 @@
135135
"default": {
136136
"description": "Error response describing why the operation failed.",
137137
"schema": {
138-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
138+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
139139
}
140140
}
141141
}
@@ -184,7 +184,7 @@
184184
"default": {
185185
"description": "Error response describing why the operation failed.",
186186
"schema": {
187-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
187+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
188188
}
189189
}
190190
}
@@ -257,7 +257,7 @@
257257
"default": {
258258
"description": "Error response describing why the operation failed.",
259259
"schema": {
260-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
260+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
261261
}
262262
}
263263
}
@@ -318,7 +318,7 @@
318318
"default": {
319319
"description": "Error response describing why the operation failed.",
320320
"schema": {
321-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
321+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
322322
}
323323
}
324324
}
@@ -364,7 +364,7 @@
364364
"default": {
365365
"description": "Error response describing why the operation failed.",
366366
"schema": {
367-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
367+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
368368
}
369369
}
370370
}
@@ -415,7 +415,7 @@
415415
"default": {
416416
"description": "Error response describing why the operation failed.",
417417
"schema": {
418-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
418+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
419419
}
420420
}
421421
}

specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/apimbackends.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"default": {
8484
"description": "Error response describing why the operation failed.",
8585
"schema": {
86-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
86+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
8787
}
8888
}
8989
},
@@ -135,7 +135,7 @@
135135
"default": {
136136
"description": "Error response describing why the operation failed.",
137137
"schema": {
138-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
138+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
139139
}
140140
}
141141
}
@@ -184,7 +184,7 @@
184184
"default": {
185185
"description": "Error response describing why the operation failed.",
186186
"schema": {
187-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
187+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
188188
}
189189
}
190190
}
@@ -260,7 +260,7 @@
260260
"default": {
261261
"description": "Error response describing why the operation failed.",
262262
"schema": {
263-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
263+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
264264
}
265265
}
266266
}
@@ -321,7 +321,7 @@
321321
"default": {
322322
"description": "Error response describing why the operation failed.",
323323
"schema": {
324-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
324+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
325325
}
326326
}
327327
}
@@ -367,7 +367,7 @@
367367
"default": {
368368
"description": "Error response describing why the operation failed.",
369369
"schema": {
370-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
370+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
371371
}
372372
}
373373
}
@@ -418,7 +418,7 @@
418418
"default": {
419419
"description": "Error response describing why the operation failed.",
420420
"schema": {
421-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
421+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
422422
}
423423
}
424424
}

specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/apimcaches.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"default": {
7777
"description": "Error response describing why the operation failed.",
7878
"schema": {
79-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
79+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
8080
}
8181
}
8282
},
@@ -127,7 +127,7 @@
127127
"default": {
128128
"description": "Error response describing why the operation failed.",
129129
"schema": {
130-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
130+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
131131
}
132132
}
133133
}
@@ -176,7 +176,7 @@
176176
"default": {
177177
"description": "Error response describing why the operation failed.",
178178
"schema": {
179-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
179+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
180180
}
181181
}
182182
}
@@ -253,7 +253,7 @@
253253
"default": {
254254
"description": "Error response describing why the operation failed.",
255255
"schema": {
256-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
256+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
257257
}
258258
}
259259
}
@@ -314,7 +314,7 @@
314314
"default": {
315315
"description": "Error response describing why the operation failed.",
316316
"schema": {
317-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
317+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
318318
}
319319
}
320320
}
@@ -360,7 +360,7 @@
360360
"default": {
361361
"description": "Error response describing why the operation failed.",
362362
"schema": {
363-
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
363+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
364364
}
365365
}
366366
}

0 commit comments

Comments
 (0)