diff --git a/specification/ai-foundry/data-plane/Foundry/openapi3/v1/microsoft-foundry-openapi3.json b/specification/ai-foundry/data-plane/Foundry/openapi3/v1/microsoft-foundry-openapi3.json index e577097995e9..5d3ec4a8d179 100644 --- a/specification/ai-foundry/data-plane/Foundry/openapi3/v1/microsoft-foundry-openapi3.json +++ b/specification/ai-foundry/data-plane/Foundry/openapi3/v1/microsoft-foundry-openapi3.json @@ -147,8 +147,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -305,8 +315,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -403,8 +423,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -474,8 +504,18 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful." }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -612,8 +652,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -691,8 +741,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -770,8 +830,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -860,8 +930,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -939,8 +1019,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -1018,8 +1108,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -1099,8 +1199,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -1175,8 +1285,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -1319,8 +1439,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -1371,8 +1501,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -1439,8 +1579,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -1525,8 +1675,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -1587,8 +1747,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -1686,8 +1856,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -1788,8 +1968,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -1867,8 +2057,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -1961,8 +2161,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -2055,8 +2265,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -2142,8 +2362,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -2296,8 +2526,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -2393,8 +2633,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -2492,8 +2742,18 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful. " }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -2589,8 +2849,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -2696,8 +2966,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -2783,8 +3063,8 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", "content": { "application/json": { "schema": { @@ -2792,9 +3072,19 @@ } } } - } - }, - "tags": [ + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + } + }, + "tags": [ "Agents" ], "x-ms-foundry-meta": { @@ -2861,8 +3151,18 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful." }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -2932,8 +3232,18 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful." }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -2989,8 +3299,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -3070,8 +3390,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -3213,8 +3543,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -3274,8 +3614,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -3344,8 +3694,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -3426,8 +3786,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -3484,8 +3854,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -3537,8 +3917,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -3615,8 +4005,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -3681,8 +4090,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -3747,8 +4175,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -3880,8 +4327,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -3964,8 +4421,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -4055,8 +4522,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -4116,8 +4593,18 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful." }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -4186,8 +4673,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -4227,8 +4724,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -4281,8 +4797,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -4344,8 +4879,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -4398,8 +4952,8 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful." }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", "headers": { "x-ms-error-code": { "required": false, @@ -4416,7 +4970,26 @@ } } } - } + }, + "5XX": { + "description": "Server error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + } }, "tags": [ "Datasets" @@ -4469,8 +5042,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -4543,8 +5135,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -4606,8 +5217,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -4704,8 +5334,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -4770,8 +5419,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -4845,8 +5513,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -4899,8 +5586,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -4944,8 +5650,27 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful." }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -5018,8 +5743,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -5106,8 +5850,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -5172,8 +5935,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -5229,8 +6011,27 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful." }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -5303,8 +6104,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -5378,8 +6198,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -5474,13 +6313,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/EvaluatorGenerationJob" + "$ref": "#/components/schemas/EvaluatorGenerationJob" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" } } } }, - "default": { - "description": "An unexpected error response.", + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -5617,8 +6466,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -5697,8 +6556,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -5757,8 +6626,18 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful." }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -5827,8 +6706,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -5912,8 +6801,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -6010,8 +6918,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -6074,8 +7001,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -6159,8 +7105,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -6225,8 +7190,27 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful." }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -6298,8 +7282,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -6390,8 +7393,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -6478,8 +7491,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -6530,8 +7553,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -6584,8 +7626,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -6647,8 +7708,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -6701,8 +7781,27 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful." }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -6757,23 +7856,42 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Index" + "$ref": "#/components/schemas/Index" + } + } + } + }, + "201": { + "description": "The request has succeeded and a new resource has been created as a result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Index" + } + } + } + }, + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" } } - } - }, - "201": { - "description": "The request has succeeded and a new resource has been created as a result.", + }, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Index" + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" } } } }, - "default": { - "description": "An unexpected error response.", + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -6866,8 +7984,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -6980,8 +8108,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -7054,8 +8192,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -7109,8 +8257,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -7276,8 +8434,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -7345,8 +8513,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -7436,8 +8614,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -7503,8 +8691,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -7572,8 +8770,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -7683,8 +8891,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -7778,8 +8996,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -7854,8 +9082,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -8001,8 +9239,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -8098,8 +9346,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -8167,8 +9425,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -8255,8 +9523,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -8372,8 +9650,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -8461,8 +9749,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -8527,8 +9834,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -8602,8 +9928,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -8673,8 +10018,27 @@ "200": { "description": "The request has succeeded." }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -8749,20 +10113,39 @@ "$ref": "#/components/schemas/ModelVersion" } } - } - }, - "201": { - "description": "The request has succeeded and a new resource has been created as a result.", + } + }, + "201": { + "description": "The request has succeeded and a new resource has been created as a result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ModelVersion" + } + } + } + }, + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ModelVersion" + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" } } } }, - "default": { - "description": "An unexpected error response.", + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -8875,8 +10258,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -8966,8 +10368,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -9056,8 +10477,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -9122,8 +10562,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -9260,8 +10710,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -9311,8 +10771,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -9370,8 +10840,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -9419,8 +10899,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -9483,8 +10973,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -9633,8 +11133,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -9693,8 +11203,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -9751,8 +11271,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -9865,8 +11395,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -9896,8 +11436,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -9949,8 +11499,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -9990,8 +11550,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -10031,8 +11601,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -10167,8 +11747,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -10207,8 +11797,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -10269,8 +11869,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -10319,8 +11929,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -10369,8 +11989,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -10499,8 +12129,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -10560,8 +12200,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -10598,13 +12248,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/OpenAI.FineTuningJob" + "$ref": "#/components/schemas/OpenAI.FineTuningJob" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" } } } }, - "default": { - "description": "An unexpected error response.", + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -10676,8 +12336,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -10728,8 +12398,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -10780,8 +12460,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -10854,8 +12544,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -10928,8 +12628,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -10980,8 +12690,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -11032,8 +12752,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -11088,8 +12818,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -11637,8 +13377,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -11669,8 +13419,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -11786,8 +13546,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -11844,8 +13614,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -11904,8 +13684,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -12031,8 +13821,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -12079,8 +13879,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -12145,8 +13964,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -12209,8 +14047,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -12343,8 +14191,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -12406,8 +14264,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -12477,8 +14345,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -12531,8 +14409,18 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful." }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -12665,8 +14553,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -12728,8 +14626,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -12791,8 +14699,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -12864,8 +14782,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -12932,13 +14860,32 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PagedSchedule" + "$ref": "#/components/schemas/PagedSchedule" + } + } + } + }, + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" } } } }, - "default": { - "description": "An unexpected error response.", + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -12996,8 +14943,27 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful." }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -13060,8 +15026,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -13134,8 +15119,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -13231,8 +15235,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -13313,8 +15336,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -13436,8 +15469,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -13505,8 +15548,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -13572,8 +15625,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -13658,8 +15721,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -13728,8 +15801,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -13797,8 +15880,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -13969,8 +16062,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -14047,8 +16150,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -14123,8 +16236,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -14202,8 +16325,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -14318,8 +16451,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -14370,8 +16513,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -14414,8 +16567,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -14467,8 +16630,18 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful. " }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -14520,8 +16693,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -14687,8 +16870,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -14748,8 +16941,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -14800,8 +17003,18 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful. " }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { diff --git a/specification/ai-foundry/data-plane/Foundry/openapi3/v1/microsoft-foundry-openapi3.yaml b/specification/ai-foundry/data-plane/Foundry/openapi3/v1/microsoft-foundry-openapi3.yaml index 1e7ffd766e91..e81c595ed4d0 100644 --- a/specification/ai-foundry/data-plane/Foundry/openapi3/v1/microsoft-foundry-openapi3.yaml +++ b/specification/ai-foundry/data-plane/Foundry/openapi3/v1/microsoft-foundry-openapi3.yaml @@ -74,8 +74,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OptimizationJob' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -192,8 +198,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -255,8 +267,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OptimizationJob' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -302,8 +320,14 @@ paths: responses: '204': description: There is no content to send for this request, but the headers may be useful. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -406,8 +430,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -457,8 +487,14 @@ paths: application/json: schema: $ref: '#/components/schemas/CandidateMetadata' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -508,8 +544,14 @@ paths: application/json: schema: $ref: '#/components/schemas/CandidateDeployConfig' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -567,8 +609,14 @@ paths: schema: type: string format: binary - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -618,8 +666,14 @@ paths: application/json: schema: $ref: '#/components/schemas/CandidateResults' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -669,8 +723,14 @@ paths: application/json: schema: $ref: '#/components/schemas/PromoteCandidateResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -721,8 +781,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OptimizationJob' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -775,8 +841,14 @@ paths: application/json: schema: $ref: '#/components/schemas/AgentObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -882,8 +954,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -915,8 +993,14 @@ paths: application/json: schema: $ref: '#/components/schemas/AgentObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -964,8 +1048,14 @@ paths: application/json: schema: $ref: '#/components/schemas/AgentObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -1022,8 +1112,14 @@ paths: application/json: schema: $ref: '#/components/schemas/DeleteAgentResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -1062,8 +1158,14 @@ paths: application/json: schema: $ref: '#/components/schemas/AgentObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -1140,8 +1242,14 @@ paths: schema: type: string format: binary - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -1207,8 +1315,14 @@ paths: content: '*/*': schema: {} - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -1260,8 +1374,14 @@ paths: schema: type: object additionalProperties: {} - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -1323,8 +1443,14 @@ paths: content: '*/*': schema: {} - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -1386,8 +1512,14 @@ paths: content: '*/*': schema: {} - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -1445,8 +1577,14 @@ paths: application/json: schema: $ref: '#/components/schemas/AgentSessionResource' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -1559,8 +1697,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -1624,8 +1768,14 @@ paths: application/json: schema: $ref: '#/components/schemas/SessionDirectoryListResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -1692,8 +1842,14 @@ paths: responses: '204': description: 'There is no content to send for this request, but the headers may be useful. ' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -1757,8 +1913,14 @@ paths: application/json: schema: $ref: '#/components/schemas/SessionFileWriteResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -1827,8 +1989,14 @@ paths: schema: type: string format: binary - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -1883,8 +2051,14 @@ paths: application/json: schema: $ref: '#/components/schemas/AgentSessionResource' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -1936,8 +2110,14 @@ paths: responses: '204': description: There is no content to send for this request, but the headers may be useful. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -1984,8 +2164,14 @@ paths: responses: '204': description: There is no content to send for this request, but the headers may be useful. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -2022,8 +2208,14 @@ paths: application/json: schema: $ref: '#/components/schemas/AgentObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -2078,8 +2270,14 @@ paths: application/json: schema: $ref: '#/components/schemas/AgentVersionObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -2184,8 +2382,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -2223,8 +2427,14 @@ paths: application/json: schema: $ref: '#/components/schemas/AgentVersionObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -2272,8 +2482,14 @@ paths: application/json: schema: $ref: '#/components/schemas/DeleteAgentVersionResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -2351,8 +2567,14 @@ paths: text/event-stream: schema: $ref: '#/components/schemas/SessionLogEvent' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -2392,8 +2614,14 @@ paths: application/json: schema: $ref: '#/components/schemas/AgentVersionObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -2425,8 +2653,14 @@ paths: application/json: schema: $ref: '#/components/schemas/AgentObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -2473,8 +2707,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedConnection' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -2513,8 +2759,20 @@ paths: application/json: schema: $ref: '#/components/schemas/Connection' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -2553,8 +2811,20 @@ paths: application/json: schema: $ref: '#/components/schemas/Connection' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -2654,8 +2924,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -2709,8 +2985,14 @@ paths: application/json: schema: $ref: '#/components/schemas/DataGenerationJob' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -2768,8 +3050,14 @@ paths: application/json: schema: $ref: '#/components/schemas/DataGenerationJob' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -2808,8 +3096,14 @@ paths: responses: '204': description: There is no content to send for this request, but the headers may be useful. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -2853,8 +3147,14 @@ paths: application/json: schema: $ref: '#/components/schemas/DataGenerationJob' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -2877,8 +3177,8 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedDatasetVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error headers: x-ms-error-code: required: false @@ -2889,8 +3189,20 @@ paths: application/json: schema: $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' - tags: - - Datasets + 5XX: + description: Server error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + tags: + - Datasets /datasets/{name}/versions: get: operationId: Datasets_listVersions @@ -2910,8 +3222,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedDatasetVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -2949,8 +3273,20 @@ paths: application/json: schema: $ref: '#/components/schemas/DatasetVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -2983,8 +3319,20 @@ paths: responses: '204': description: There is no content to send for this request, but the headers may be useful. - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -3027,8 +3375,20 @@ paths: application/json: schema: $ref: '#/components/schemas/DatasetVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -3073,8 +3433,20 @@ paths: application/json: schema: $ref: '#/components/schemas/AssetCredentialResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -3112,8 +3484,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PendingUploadResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -3174,8 +3558,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedDeployment' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -3214,8 +3610,20 @@ paths: application/json: schema: $ref: '#/components/schemas/Deployment' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -3262,8 +3670,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedEvaluationRule' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -3295,8 +3715,20 @@ paths: application/json: schema: $ref: '#/components/schemas/EvaluationRule' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -3323,8 +3755,20 @@ paths: responses: '204': description: There is no content to send for this request, but the headers may be useful. - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -3369,8 +3813,20 @@ paths: application/json: schema: $ref: '#/components/schemas/EvaluationRule' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -3425,8 +3881,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedEvaluationTaxonomy' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -3466,8 +3934,20 @@ paths: application/json: schema: $ref: '#/components/schemas/EvaluationTaxonomy' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -3502,8 +3982,20 @@ paths: responses: '204': description: There is no content to send for this request, but the headers may be useful. - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -3548,8 +4040,20 @@ paths: application/json: schema: $ref: '#/components/schemas/EvaluationTaxonomy' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -3595,8 +4099,20 @@ paths: application/json: schema: $ref: '#/components/schemas/EvaluationTaxonomy' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -3663,8 +4179,14 @@ paths: application/json: schema: $ref: '#/components/schemas/EvaluatorGenerationJob' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -3767,8 +4289,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -3819,8 +4347,14 @@ paths: application/json: schema: $ref: '#/components/schemas/EvaluatorGenerationJob' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -3860,8 +4394,14 @@ paths: responses: '204': description: There is no content to send for this request, but the headers may be useful. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -3905,8 +4445,14 @@ paths: application/json: schema: $ref: '#/components/schemas/EvaluatorGenerationJob' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -3957,8 +4503,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedEvaluatorVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -4018,8 +4576,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedEvaluatorVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -4058,8 +4628,20 @@ paths: application/json: schema: $ref: '#/components/schemas/EvaluatorVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -4111,8 +4693,20 @@ paths: application/json: schema: $ref: '#/components/schemas/EvaluatorVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -4153,8 +4747,20 @@ paths: responses: '204': description: There is no content to send for this request, but the headers may be useful. - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -4199,8 +4805,20 @@ paths: application/json: schema: $ref: '#/components/schemas/EvaluatorVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -4258,8 +4876,14 @@ paths: application/json: schema: $ref: '#/components/schemas/AssetCredentialResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -4314,8 +4938,14 @@ paths: application/json: schema: $ref: '#/components/schemas/PendingUploadResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -4345,8 +4975,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedIndex' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -4378,8 +5020,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedIndex' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -4417,8 +5071,20 @@ paths: application/json: schema: $ref: '#/components/schemas/Index' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -4451,8 +5117,20 @@ paths: responses: '204': description: There is no content to send for this request, but the headers may be useful. - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -4495,8 +5173,20 @@ paths: application/json: schema: $ref: '#/components/schemas/Index' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -4556,8 +5246,14 @@ paths: application/json: schema: $ref: '#/components/schemas/Insight' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -4632,8 +5328,14 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedInsight' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -4680,8 +5382,14 @@ paths: application/json: schema: $ref: '#/components/schemas/Insight' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -4715,8 +5423,14 @@ paths: application/json: schema: $ref: '#/components/schemas/MemoryStoreObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -4838,8 +5552,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -4882,8 +5602,14 @@ paths: application/json: schema: $ref: '#/components/schemas/MemoryStoreObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -4941,8 +5667,14 @@ paths: application/json: schema: $ref: '#/components/schemas/MemoryStoreObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -4984,8 +5716,14 @@ paths: application/json: schema: $ref: '#/components/schemas/DeleteMemoryStoreResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -5028,8 +5766,14 @@ paths: application/json: schema: $ref: '#/components/schemas/MemoryItem' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -5099,8 +5843,14 @@ paths: application/json: schema: $ref: '#/components/schemas/MemoryItem' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -5160,8 +5910,14 @@ paths: application/json: schema: $ref: '#/components/schemas/MemoryItem' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -5209,8 +5965,14 @@ paths: application/json: schema: $ref: '#/components/schemas/DeleteMemoryResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -5319,8 +6081,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -5381,8 +6149,14 @@ paths: application/json: schema: $ref: '#/components/schemas/MemoryStoreUpdateResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -5425,8 +6199,14 @@ paths: application/json: schema: $ref: '#/components/schemas/MemoryStoreDeleteScopeResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -5481,8 +6261,14 @@ paths: application/json: schema: $ref: '#/components/schemas/MemoryStoreSearchResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -5556,8 +6342,14 @@ paths: application/json: schema: $ref: '#/components/schemas/MemoryStoreUpdateResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -5617,8 +6409,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedModelVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -5658,8 +6462,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedModelVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -5705,8 +6521,20 @@ paths: application/json: schema: $ref: '#/components/schemas/ModelVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -5750,8 +6578,20 @@ paths: responses: '200': description: The request has succeeded. - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -5805,8 +6645,20 @@ paths: application/json: schema: $ref: '#/components/schemas/ModelVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -5879,8 +6731,20 @@ paths: format: uri nullable: true description: URL to the operation result, or null if the operation is still in progress. - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -5936,8 +6800,20 @@ paths: application/json: schema: $ref: '#/components/schemas/AssetCredentialResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -5992,8 +6868,20 @@ paths: application/json: schema: $ref: '#/components/schemas/ModelPendingUploadResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -6033,8 +6921,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAI.ConversationResource' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6137,8 +7031,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6169,8 +7069,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAI.ConversationResource' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6206,8 +7112,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAI.ConversationResource' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6237,8 +7149,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAI.DeletedConversationResource' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6280,8 +7198,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAI.ConversationItemList' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6392,8 +7316,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6430,8 +7360,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAI.OutputItem' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6467,8 +7403,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAI.ConversationResource' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6546,8 +7488,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6569,8 +7517,14 @@ paths: application/json: schema: $ref: '#/components/schemas/Eval' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6602,8 +7556,14 @@ paths: application/json: schema: $ref: '#/components/schemas/DeleteEvalResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6628,8 +7588,14 @@ paths: application/json: schema: $ref: '#/components/schemas/Eval' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6654,8 +7620,14 @@ paths: application/json: schema: $ref: '#/components/schemas/Eval' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6746,8 +7718,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6771,8 +7749,14 @@ paths: application/json: schema: $ref: '#/components/schemas/EvalRun' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6810,8 +7794,14 @@ paths: application/json: schema: $ref: '#/components/schemas/DeleteEvalRunResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6842,8 +7832,14 @@ paths: application/json: schema: $ref: '#/components/schemas/EvalRun' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6874,8 +7870,14 @@ paths: application/json: schema: $ref: '#/components/schemas/EvalRun' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6963,8 +7965,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -7002,8 +8010,14 @@ paths: application/json: schema: $ref: '#/components/schemas/EvalRunOutputItem' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -7034,8 +8048,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAI.FineTuningJob' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -7082,8 +8102,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAI.ListPaginatedFineTuningJobsResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -7118,8 +8144,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAI.FineTuningJob' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -7151,8 +8183,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAI.FineTuningJob' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -7200,8 +8238,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAI.ListFineTuningJobCheckpointsResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -7249,8 +8293,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAI.ListFineTuningJobEventsResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -7282,8 +8332,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAI.FineTuningJob' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -7314,9 +8370,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/OpenAI.FineTuningJob' - default: - description: An unexpected error response. + $ref: '#/components/schemas/OpenAI.FineTuningJob' + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -7350,8 +8412,14 @@ paths: text/event-stream: schema: $ref: '#/components/schemas/OpenAI.CreateResponseStreamingResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -7725,8 +8793,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -7745,8 +8819,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAI.CompactResource' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -7820,8 +8900,14 @@ paths: text/event-stream: schema: $ref: '#/components/schemas/OpenAI.CreateResponseStreamingResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -7857,8 +8943,14 @@ paths: application/json: schema: $ref: '#/components/schemas/DeleteResponseResult' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -7895,8 +8987,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAI.Response' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -7991,8 +9089,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8020,8 +9124,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedRedTeam' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -8061,8 +9177,20 @@ paths: application/json: schema: $ref: '#/components/schemas/RedTeam' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -8102,8 +9230,14 @@ paths: application/json: schema: $ref: '#/components/schemas/RedTeam' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8203,8 +9337,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8242,8 +9382,14 @@ paths: application/json: schema: $ref: '#/components/schemas/Routine' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8286,8 +9432,14 @@ paths: application/json: schema: $ref: '#/components/schemas/Routine' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8320,8 +9472,14 @@ paths: responses: '204': description: There is no content to send for this request, but the headers may be useful. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8419,8 +9577,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8458,8 +9622,14 @@ paths: application/json: schema: $ref: '#/components/schemas/Routine' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8497,8 +9667,14 @@ paths: application/json: schema: $ref: '#/components/schemas/DispatchRoutineResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8542,8 +9718,14 @@ paths: application/json: schema: $ref: '#/components/schemas/Routine' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8588,8 +9770,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedSchedule' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -8625,8 +9819,20 @@ paths: responses: '204': description: There is no content to send for this request, but the headers may be useful. - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -8665,8 +9871,20 @@ paths: application/json: schema: $ref: '#/components/schemas/Schedule' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -8711,8 +9929,20 @@ paths: application/json: schema: $ref: '#/components/schemas/Schedule' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -8773,8 +10003,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedScheduleRun' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -8826,8 +10068,14 @@ paths: application/json: schema: $ref: '#/components/schemas/ScheduleRun' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8920,8 +10168,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8964,8 +10218,14 @@ paths: application/json: schema: $ref: '#/components/schemas/Skill' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -9007,8 +10267,14 @@ paths: application/json: schema: $ref: '#/components/schemas/Skill' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -9062,8 +10328,14 @@ paths: application/json: schema: $ref: '#/components/schemas/DeleteSkillResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -9107,8 +10379,14 @@ paths: schema: type: string format: binary - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -9151,8 +10429,14 @@ paths: application/json: schema: $ref: '#/components/schemas/SkillVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -9275,8 +10559,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -9325,8 +10615,14 @@ paths: application/json: schema: $ref: '#/components/schemas/SkillVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -9374,8 +10670,14 @@ paths: application/json: schema: $ref: '#/components/schemas/DeleteSkillVersionResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -9425,8 +10727,14 @@ paths: schema: type: string format: binary - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -9514,8 +10822,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -9547,8 +10861,14 @@ paths: application/json: schema: $ref: '#/components/schemas/ToolboxObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -9574,8 +10894,14 @@ paths: application/json: schema: $ref: '#/components/schemas/ToolboxObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -9608,8 +10934,14 @@ paths: responses: '204': description: 'There is no content to send for this request, but the headers may be useful. ' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -9642,8 +10974,14 @@ paths: application/json: schema: $ref: '#/components/schemas/ToolboxVersionObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -9765,8 +11103,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -9804,8 +11148,14 @@ paths: application/json: schema: $ref: '#/components/schemas/ToolboxVersionObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -9838,8 +11188,14 @@ paths: responses: '204': description: 'There is no content to send for this request, but the headers may be useful. ' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: diff --git a/specification/ai-foundry/data-plane/Foundry/openapi3/virtual-public-preview/microsoft-foundry-openapi3.json b/specification/ai-foundry/data-plane/Foundry/openapi3/virtual-public-preview/microsoft-foundry-openapi3.json index ba5175244008..489cc7bab51f 100644 --- a/specification/ai-foundry/data-plane/Foundry/openapi3/virtual-public-preview/microsoft-foundry-openapi3.json +++ b/specification/ai-foundry/data-plane/Foundry/openapi3/virtual-public-preview/microsoft-foundry-openapi3.json @@ -156,8 +156,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -314,8 +324,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -412,8 +432,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -483,8 +513,18 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful." }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -621,8 +661,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -700,8 +750,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -779,8 +839,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -869,8 +939,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -948,8 +1028,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -1027,8 +1117,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -1108,8 +1208,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -1184,8 +1294,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -1328,8 +1448,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -1445,8 +1575,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -1502,8 +1642,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -1570,8 +1720,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -1656,8 +1816,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -1718,8 +1888,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -1817,8 +1997,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -1919,8 +2109,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -1998,8 +2198,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -2092,8 +2302,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -2186,8 +2406,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -2273,8 +2503,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -2427,8 +2667,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -2524,8 +2774,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -2623,8 +2883,18 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful. " }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -2720,8 +2990,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -2827,8 +3107,8 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", "content": { "application/json": { "schema": { @@ -2836,9 +3116,19 @@ } } } - } - }, - "tags": [ + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + } + }, + "tags": [ "Agent Session Files" ], "x-ms-foundry-meta": { @@ -2914,8 +3204,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -2992,8 +3292,18 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful." }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -3063,8 +3373,18 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful." }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -3120,8 +3440,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -3262,8 +3592,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -3340,8 +3680,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -3416,8 +3766,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -3559,8 +3919,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -3620,8 +3990,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -3690,8 +4070,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -3763,8 +4153,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -3909,8 +4309,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -3996,8 +4406,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -4098,8 +4518,18 @@ "200": { "description": "The request has succeeded." }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -4185,8 +4615,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -4296,8 +4736,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -4383,8 +4833,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -4492,8 +4952,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -4550,8 +5020,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -4603,8 +5083,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -4681,8 +5171,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -4747,8 +5256,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -4813,8 +5341,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -4946,8 +5493,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -5030,8 +5587,8 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", "content": { "application/json": { "schema": { @@ -5039,7 +5596,17 @@ } } } - } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + } }, "tags": [ "DataGenerationJobs" @@ -5121,8 +5688,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -5182,8 +5759,18 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful." }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -5252,8 +5839,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -5293,8 +5890,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -5347,8 +5963,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -5410,8 +6045,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -5464,8 +6118,27 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful." }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -5535,8 +6208,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -5609,8 +6301,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -5672,8 +6383,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -5770,8 +6500,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -5836,8 +6585,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -5926,8 +6694,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -6064,8 +6842,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -6144,8 +6932,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -6205,8 +7003,18 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful." }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -6275,8 +7083,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -6326,8 +7144,8 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", "headers": { "x-ms-error-code": { "required": false, @@ -6344,19 +7162,38 @@ } } } - } - } - } - }, - "/evaluation_suites/{name}/versions": { - "get": { - "operationId": "EvaluationSuites_listVersions", - "description": "List all versions of the given EvaluationSuiteVersion", - "parameters": [ - { - "$ref": "#/components/parameters/Azure.Core.Foundations.ApiVersionParameter" }, - { + "5XX": { + "description": "Server error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + } + } + } + }, + "/evaluation_suites/{name}/versions": { + "get": { + "operationId": "EvaluationSuites_listVersions", + "description": "List all versions of the given EvaluationSuiteVersion", + "parameters": [ + { + "$ref": "#/components/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { "name": "name", "in": "path", "required": true, @@ -6377,8 +7214,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -6445,8 +7301,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -6512,8 +7378,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -6563,8 +7448,27 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful." }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -6631,8 +7535,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -6712,8 +7635,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -6791,8 +7724,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -6845,8 +7797,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -6890,8 +7861,27 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful." }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -6964,8 +7954,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -7032,8 +8041,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -7095,8 +8123,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -7149,8 +8196,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -7205,8 +8271,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -7247,8 +8332,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -7300,8 +8404,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -7385,8 +8508,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -7451,8 +8593,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -7508,8 +8669,27 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful." }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -7582,8 +8762,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -7657,8 +8856,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -7758,8 +8976,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -7896,8 +9124,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -7976,8 +9214,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -8036,8 +9284,18 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful." }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -8106,8 +9364,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -8191,8 +9459,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -8289,8 +9576,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -8353,8 +9659,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -8438,8 +9763,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -8504,8 +9848,27 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful." }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -8577,8 +9940,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -8669,8 +10051,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -8757,8 +10149,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -8809,8 +10211,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -8863,8 +10284,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -8926,8 +10366,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -8980,8 +10439,27 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful." }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -9051,8 +10529,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -9145,8 +10642,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -9259,8 +10766,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -9333,8 +10850,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -9409,8 +10936,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -9474,8 +11011,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -9548,8 +11095,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -9605,8 +11162,18 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful." }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -9662,8 +11229,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -9829,8 +11406,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -9898,8 +11485,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -9989,8 +11586,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -10056,8 +11663,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -10125,8 +11742,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -10236,8 +11863,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -10331,8 +11968,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -10407,8 +12054,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -10554,8 +12211,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -10651,8 +12318,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -10720,8 +12397,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -10808,8 +12495,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -10925,8 +12622,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -11014,8 +12721,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -11080,8 +12806,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -11155,8 +12900,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -11226,8 +12990,27 @@ "200": { "description": "The request has succeeded." }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -11302,20 +13085,39 @@ "$ref": "#/components/schemas/ModelVersion" } } - } - }, - "201": { - "description": "The request has succeeded and a new resource has been created as a result.", + } + }, + "201": { + "description": "The request has succeeded and a new resource has been created as a result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ModelVersion" + } + } + } + }, + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ModelVersion" + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" } } } }, - "default": { - "description": "An unexpected error response.", + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -11428,8 +13230,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -11519,8 +13340,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -11609,8 +13449,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -11675,8 +13534,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -11813,8 +13682,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -11864,8 +13743,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -11923,8 +13812,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -11972,8 +13871,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -12036,8 +13945,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -12186,8 +14105,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -12246,8 +14175,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -12304,8 +14243,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -12418,8 +14367,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -12449,8 +14408,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -12502,8 +14471,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -12543,8 +14522,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -12584,8 +14573,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -12720,8 +14719,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -12760,8 +14769,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -12822,8 +14841,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -12872,8 +14901,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -12922,8 +14961,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -13052,8 +15101,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -13113,8 +15172,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -13151,13 +15220,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/OpenAI.FineTuningJob" + "$ref": "#/components/schemas/OpenAI.FineTuningJob" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" } } } }, - "default": { - "description": "An unexpected error response.", + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -13229,8 +15308,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -13281,8 +15370,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -13333,8 +15432,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -13407,8 +15516,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -13481,8 +15600,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -13533,8 +15662,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -13585,8 +15724,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -13641,8 +15790,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -14214,8 +16373,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -14246,8 +16415,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -14363,8 +16542,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -14421,8 +16610,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -14481,8 +16680,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -14608,8 +16817,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -14656,8 +16875,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -14722,8 +16960,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -14786,8 +17043,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -14920,8 +17187,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -14983,8 +17260,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -15054,8 +17341,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -15108,8 +17405,18 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful." }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -15242,8 +17549,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -15305,8 +17622,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -15368,8 +17695,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -15441,8 +17778,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -15509,13 +17856,32 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PagedSchedule" + "$ref": "#/components/schemas/PagedSchedule" + } + } + } + }, + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" } } } }, - "default": { - "description": "An unexpected error response.", + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -15573,8 +17939,27 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful." }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -15637,8 +18022,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -15711,8 +18115,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -15808,8 +18231,27 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "headers": { + "x-ms-error-code": { + "required": false, + "description": "String error code indicating what went wrong.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Azure.Core.Foundations.ErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "headers": { "x-ms-error-code": { "required": false, @@ -15890,8 +18332,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -16013,8 +18465,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -16082,8 +18544,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -16149,8 +18621,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -16235,8 +18717,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -16305,8 +18797,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -16374,8 +18876,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -16546,8 +19058,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -16624,8 +19146,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -16700,8 +19232,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -16779,8 +19321,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -16895,8 +19447,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -16947,8 +19509,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -16991,8 +19563,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -17044,8 +19626,18 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful. " }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -17097,8 +19689,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -17264,8 +19866,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -17325,8 +19937,18 @@ } } }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { @@ -17377,8 +19999,18 @@ "204": { "description": "There is no content to send for this request, but the headers may be useful. " }, - "default": { - "description": "An unexpected error response.", + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "5XX": { + "description": "Server error", "content": { "application/json": { "schema": { diff --git a/specification/ai-foundry/data-plane/Foundry/openapi3/virtual-public-preview/microsoft-foundry-openapi3.yaml b/specification/ai-foundry/data-plane/Foundry/openapi3/virtual-public-preview/microsoft-foundry-openapi3.yaml index b567cc0e3b74..515dd4314091 100644 --- a/specification/ai-foundry/data-plane/Foundry/openapi3/virtual-public-preview/microsoft-foundry-openapi3.yaml +++ b/specification/ai-foundry/data-plane/Foundry/openapi3/virtual-public-preview/microsoft-foundry-openapi3.yaml @@ -77,8 +77,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OptimizationJob' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -195,8 +201,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -258,8 +270,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OptimizationJob' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -305,8 +323,14 @@ paths: responses: '204': description: There is no content to send for this request, but the headers may be useful. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -409,8 +433,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -460,8 +490,14 @@ paths: application/json: schema: $ref: '#/components/schemas/CandidateMetadata' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -511,8 +547,14 @@ paths: application/json: schema: $ref: '#/components/schemas/CandidateDeployConfig' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -570,8 +612,14 @@ paths: schema: type: string format: binary - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -621,8 +669,14 @@ paths: application/json: schema: $ref: '#/components/schemas/CandidateResults' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -672,8 +726,14 @@ paths: application/json: schema: $ref: '#/components/schemas/PromoteCandidateResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -724,8 +784,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OptimizationJob' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -778,8 +844,14 @@ paths: application/json: schema: $ref: '#/components/schemas/AgentObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -885,8 +957,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -969,8 +1047,14 @@ paths: content: application/json: schema: {} - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -1005,8 +1089,14 @@ paths: application/json: schema: $ref: '#/components/schemas/AgentObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -1054,8 +1144,14 @@ paths: application/json: schema: $ref: '#/components/schemas/AgentObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -1112,8 +1208,14 @@ paths: application/json: schema: $ref: '#/components/schemas/DeleteAgentResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -1152,8 +1254,14 @@ paths: application/json: schema: $ref: '#/components/schemas/AgentObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -1230,8 +1338,14 @@ paths: schema: type: string format: binary - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -1297,8 +1411,14 @@ paths: content: '*/*': schema: {} - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -1350,8 +1470,14 @@ paths: schema: type: object additionalProperties: {} - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -1413,8 +1539,14 @@ paths: content: '*/*': schema: {} - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -1476,8 +1608,14 @@ paths: content: '*/*': schema: {} - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -1535,8 +1673,14 @@ paths: application/json: schema: $ref: '#/components/schemas/AgentSessionResource' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -1649,8 +1793,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -1714,8 +1864,14 @@ paths: application/json: schema: $ref: '#/components/schemas/SessionDirectoryListResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -1782,8 +1938,14 @@ paths: responses: '204': description: 'There is no content to send for this request, but the headers may be useful. ' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -1847,8 +2009,14 @@ paths: application/json: schema: $ref: '#/components/schemas/SessionFileWriteResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -1917,8 +2085,14 @@ paths: schema: type: string format: binary - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -1973,8 +2147,14 @@ paths: application/json: schema: $ref: '#/components/schemas/AgentSessionResource' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -2026,8 +2206,14 @@ paths: responses: '204': description: There is no content to send for this request, but the headers may be useful. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -2074,8 +2260,14 @@ paths: responses: '204': description: There is no content to send for this request, but the headers may be useful. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -2112,8 +2304,14 @@ paths: application/json: schema: $ref: '#/components/schemas/AgentObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -2218,8 +2416,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -2268,8 +2472,14 @@ paths: application/json: schema: $ref: '#/components/schemas/AgentContainerOperationObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -2321,8 +2531,14 @@ paths: application/json: schema: $ref: '#/components/schemas/AgentVersionObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -2427,8 +2643,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -2466,8 +2688,14 @@ paths: application/json: schema: $ref: '#/components/schemas/AgentVersionObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -2515,8 +2743,14 @@ paths: application/json: schema: $ref: '#/components/schemas/DeleteAgentVersionResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -2562,8 +2796,14 @@ paths: application/json: schema: $ref: '#/components/schemas/AgentContainerObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -2671,8 +2911,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -2730,8 +2976,14 @@ paths: application/json: schema: $ref: '#/components/schemas/AgentContainerOperationObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -2814,8 +3066,14 @@ paths: responses: '200': description: The request has succeeded. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -2873,8 +3131,14 @@ paths: application/json: schema: $ref: '#/components/schemas/AgentContainerOperationObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -2949,8 +3213,14 @@ paths: application/json: schema: $ref: '#/components/schemas/AgentContainerOperationObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -3008,8 +3278,14 @@ paths: application/json: schema: $ref: '#/components/schemas/AgentContainerOperationObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -3105,8 +3381,14 @@ paths: text/event-stream: schema: $ref: '#/components/schemas/SessionLogEvent' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -3146,8 +3428,14 @@ paths: application/json: schema: $ref: '#/components/schemas/AgentVersionObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -3179,8 +3467,14 @@ paths: application/json: schema: $ref: '#/components/schemas/AgentObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -3227,8 +3521,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedConnection' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -3267,8 +3573,20 @@ paths: application/json: schema: $ref: '#/components/schemas/Connection' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -3307,8 +3625,20 @@ paths: application/json: schema: $ref: '#/components/schemas/Connection' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -3408,8 +3738,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -3463,8 +3799,14 @@ paths: application/json: schema: $ref: '#/components/schemas/DataGenerationJob' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -3522,8 +3864,14 @@ paths: application/json: schema: $ref: '#/components/schemas/DataGenerationJob' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -3562,8 +3910,14 @@ paths: responses: '204': description: There is no content to send for this request, but the headers may be useful. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -3607,8 +3961,14 @@ paths: application/json: schema: $ref: '#/components/schemas/DataGenerationJob' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -3631,8 +3991,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedDatasetVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -3664,8 +4036,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedDatasetVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -3703,8 +4087,20 @@ paths: application/json: schema: $ref: '#/components/schemas/DatasetVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -3737,8 +4133,20 @@ paths: responses: '204': description: There is no content to send for this request, but the headers may be useful. - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -3781,8 +4189,20 @@ paths: application/json: schema: $ref: '#/components/schemas/DatasetVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -3827,8 +4247,20 @@ paths: application/json: schema: $ref: '#/components/schemas/AssetCredentialResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -3866,8 +4298,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PendingUploadResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -3928,8 +4372,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedDeployment' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -3968,8 +4424,20 @@ paths: application/json: schema: $ref: '#/components/schemas/Deployment' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -4027,8 +4495,14 @@ paths: application/json: schema: $ref: '#/components/schemas/EvaluationSuiteGenerationJob' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -4131,8 +4605,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -4183,8 +4663,14 @@ paths: application/json: schema: $ref: '#/components/schemas/EvaluationSuiteGenerationJob' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -4223,8 +4709,14 @@ paths: responses: '204': description: There is no content to send for this request, but the headers may be useful. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -4268,8 +4760,14 @@ paths: application/json: schema: $ref: '#/components/schemas/EvaluationSuiteGenerationJob' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -4299,8 +4797,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedEvaluationSuiteVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -4330,8 +4840,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedEvaluationSuiteVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -4374,8 +4896,14 @@ paths: application/json: schema: $ref: '#/components/schemas/EvaluationSuiteVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -4415,8 +4943,20 @@ paths: application/json: schema: $ref: '#/components/schemas/EvaluationSuiteVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -4447,8 +4987,20 @@ paths: responses: '204': description: There is no content to send for this request, but the headers may be useful. - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -4489,8 +5041,20 @@ paths: application/json: schema: $ref: '#/components/schemas/EvaluationSuiteVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -4541,8 +5105,14 @@ paths: application/json: schema: $ref: '#/components/schemas/EvaluationSuiteRunResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -4591,8 +5161,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedEvaluationRule' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -4624,8 +5206,20 @@ paths: application/json: schema: $ref: '#/components/schemas/EvaluationRule' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -4652,8 +5246,20 @@ paths: responses: '204': description: There is no content to send for this request, but the headers may be useful. - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -4698,8 +5304,20 @@ paths: application/json: schema: $ref: '#/components/schemas/EvaluationRule' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -4739,8 +5357,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedEvaluation' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -4777,8 +5407,20 @@ paths: application/json: schema: $ref: '#/components/schemas/Evaluation' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -4810,8 +5452,20 @@ paths: description: An opaque, globally-unique, client-generated string identifier for the request. schema: $ref: '#/components/schemas/Azure.Core.uuid' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -4844,8 +5498,20 @@ paths: description: An opaque, globally-unique, client-generated string identifier for the request. schema: $ref: '#/components/schemas/Azure.Core.uuid' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -4869,8 +5535,20 @@ paths: application/json: schema: $ref: '#/components/schemas/Evaluation' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -4901,8 +5579,20 @@ paths: application/json: schema: $ref: '#/components/schemas/AgentEvaluation' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -4955,8 +5645,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedEvaluationTaxonomy' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -4996,8 +5698,20 @@ paths: application/json: schema: $ref: '#/components/schemas/EvaluationTaxonomy' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -5032,8 +5746,20 @@ paths: responses: '204': description: There is no content to send for this request, but the headers may be useful. - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -5071,15 +5797,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/EvaluationTaxonomy' - '201': - description: The request has succeeded and a new resource has been created as a result. + $ref: '#/components/schemas/EvaluationTaxonomy' + '201': + description: The request has succeeded and a new resource has been created as a result. + content: + application/json: + schema: + $ref: '#/components/schemas/EvaluationTaxonomy' + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string content: application/json: schema: - $ref: '#/components/schemas/EvaluationTaxonomy' - default: - description: An unexpected error response. + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -5125,8 +5863,20 @@ paths: application/json: schema: $ref: '#/components/schemas/EvaluationTaxonomy' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -5193,8 +5943,14 @@ paths: application/json: schema: $ref: '#/components/schemas/EvaluatorGenerationJob' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -5297,8 +6053,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -5349,8 +6111,14 @@ paths: application/json: schema: $ref: '#/components/schemas/EvaluatorGenerationJob' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -5390,8 +6158,14 @@ paths: responses: '204': description: There is no content to send for this request, but the headers may be useful. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -5435,8 +6209,14 @@ paths: application/json: schema: $ref: '#/components/schemas/EvaluatorGenerationJob' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -5487,8 +6267,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedEvaluatorVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -5548,8 +6340,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedEvaluatorVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -5588,8 +6392,20 @@ paths: application/json: schema: $ref: '#/components/schemas/EvaluatorVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -5641,8 +6457,20 @@ paths: application/json: schema: $ref: '#/components/schemas/EvaluatorVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -5683,8 +6511,20 @@ paths: responses: '204': description: There is no content to send for this request, but the headers may be useful. - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -5729,8 +6569,20 @@ paths: application/json: schema: $ref: '#/components/schemas/EvaluatorVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -5788,8 +6640,14 @@ paths: application/json: schema: $ref: '#/components/schemas/AssetCredentialResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -5844,8 +6702,14 @@ paths: application/json: schema: $ref: '#/components/schemas/PendingUploadResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -5875,8 +6739,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedIndex' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -5908,8 +6784,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedIndex' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -5947,8 +6835,20 @@ paths: application/json: schema: $ref: '#/components/schemas/Index' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -5981,8 +6881,20 @@ paths: responses: '204': description: There is no content to send for this request, but the headers may be useful. - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -6025,8 +6937,20 @@ paths: application/json: schema: $ref: '#/components/schemas/Index' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -6086,8 +7010,14 @@ paths: application/json: schema: $ref: '#/components/schemas/Insight' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6162,8 +7092,14 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedInsight' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6210,8 +7146,14 @@ paths: application/json: schema: $ref: '#/components/schemas/Insight' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6264,8 +7206,14 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedManagedAgentIdentityBlueprint' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6305,8 +7253,14 @@ paths: application/json: schema: $ref: '#/components/schemas/ManagedAgentIdentityBlueprint' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6352,8 +7306,14 @@ paths: application/json: schema: $ref: '#/components/schemas/ManagedAgentIdentityBlueprint' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6389,8 +7349,14 @@ paths: responses: '204': description: There is no content to send for this request, but the headers may be useful. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6425,8 +7391,14 @@ paths: application/json: schema: $ref: '#/components/schemas/MemoryStoreObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6548,8 +7520,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6592,8 +7570,14 @@ paths: application/json: schema: $ref: '#/components/schemas/MemoryStoreObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6651,8 +7635,14 @@ paths: application/json: schema: $ref: '#/components/schemas/MemoryStoreObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6694,8 +7684,14 @@ paths: application/json: schema: $ref: '#/components/schemas/DeleteMemoryStoreResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6738,8 +7734,14 @@ paths: application/json: schema: $ref: '#/components/schemas/MemoryItem' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6809,8 +7811,14 @@ paths: application/json: schema: $ref: '#/components/schemas/MemoryItem' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6870,8 +7878,14 @@ paths: application/json: schema: $ref: '#/components/schemas/MemoryItem' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -6919,8 +7933,14 @@ paths: application/json: schema: $ref: '#/components/schemas/DeleteMemoryResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -7029,8 +8049,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -7091,8 +8117,14 @@ paths: application/json: schema: $ref: '#/components/schemas/MemoryStoreUpdateResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -7135,8 +8167,14 @@ paths: application/json: schema: $ref: '#/components/schemas/MemoryStoreDeleteScopeResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -7191,8 +8229,14 @@ paths: application/json: schema: $ref: '#/components/schemas/MemoryStoreSearchResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -7266,8 +8310,14 @@ paths: application/json: schema: $ref: '#/components/schemas/MemoryStoreUpdateResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -7327,8 +8377,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedModelVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -7368,8 +8430,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedModelVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -7415,8 +8489,20 @@ paths: application/json: schema: $ref: '#/components/schemas/ModelVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -7460,8 +8546,20 @@ paths: responses: '200': description: The request has succeeded. - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -7515,8 +8613,20 @@ paths: application/json: schema: $ref: '#/components/schemas/ModelVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -7589,8 +8699,20 @@ paths: format: uri nullable: true description: URL to the operation result, or null if the operation is still in progress. - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -7646,8 +8768,20 @@ paths: application/json: schema: $ref: '#/components/schemas/AssetCredentialResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -7702,8 +8836,20 @@ paths: application/json: schema: $ref: '#/components/schemas/ModelPendingUploadResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -7743,8 +8889,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAI.ConversationResource' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -7847,8 +8999,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -7879,8 +9037,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAI.ConversationResource' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -7916,8 +9080,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAI.ConversationResource' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -7947,8 +9117,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAI.DeletedConversationResource' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -7990,8 +9166,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAI.ConversationItemList' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8102,8 +9284,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8140,8 +9328,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAI.OutputItem' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8177,8 +9371,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAI.ConversationResource' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8256,8 +9456,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8279,8 +9485,14 @@ paths: application/json: schema: $ref: '#/components/schemas/Eval' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8312,8 +9524,14 @@ paths: application/json: schema: $ref: '#/components/schemas/DeleteEvalResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8338,8 +9556,14 @@ paths: application/json: schema: $ref: '#/components/schemas/Eval' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8364,8 +9588,14 @@ paths: application/json: schema: $ref: '#/components/schemas/Eval' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8456,8 +9686,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8481,8 +9717,14 @@ paths: application/json: schema: $ref: '#/components/schemas/EvalRun' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8520,8 +9762,14 @@ paths: application/json: schema: $ref: '#/components/schemas/DeleteEvalRunResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8552,8 +9800,14 @@ paths: application/json: schema: $ref: '#/components/schemas/EvalRun' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8584,8 +9838,14 @@ paths: application/json: schema: $ref: '#/components/schemas/EvalRun' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8673,8 +9933,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8712,8 +9978,14 @@ paths: application/json: schema: $ref: '#/components/schemas/EvalRunOutputItem' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8744,8 +10016,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAI.FineTuningJob' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8792,8 +10070,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAI.ListPaginatedFineTuningJobsResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8828,8 +10112,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAI.FineTuningJob' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8861,8 +10151,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAI.FineTuningJob' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8910,8 +10206,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAI.ListFineTuningJobCheckpointsResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8959,8 +10261,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAI.ListFineTuningJobEventsResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -8992,8 +10300,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAI.FineTuningJob' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -9024,9 +10338,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/OpenAI.FineTuningJob' - default: - description: An unexpected error response. + $ref: '#/components/schemas/OpenAI.FineTuningJob' + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -9060,8 +10380,14 @@ paths: text/event-stream: schema: $ref: '#/components/schemas/OpenAI.CreateResponseStreamingResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -9459,8 +10785,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -9479,8 +10811,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAI.CompactResource' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -9554,8 +10892,14 @@ paths: text/event-stream: schema: $ref: '#/components/schemas/OpenAI.CreateResponseStreamingResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -9591,8 +10935,14 @@ paths: application/json: schema: $ref: '#/components/schemas/DeleteResponseResult' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -9629,8 +10979,14 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAI.Response' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -9725,8 +11081,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -9754,8 +11116,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedRedTeam' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -9795,8 +11169,20 @@ paths: application/json: schema: $ref: '#/components/schemas/RedTeam' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -9836,8 +11222,14 @@ paths: application/json: schema: $ref: '#/components/schemas/RedTeam' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -9937,8 +11329,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -9976,8 +11374,14 @@ paths: application/json: schema: $ref: '#/components/schemas/Routine' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -10020,8 +11424,14 @@ paths: application/json: schema: $ref: '#/components/schemas/Routine' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -10054,8 +11464,14 @@ paths: responses: '204': description: There is no content to send for this request, but the headers may be useful. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -10153,8 +11569,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -10192,8 +11614,14 @@ paths: application/json: schema: $ref: '#/components/schemas/Routine' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -10231,8 +11659,14 @@ paths: application/json: schema: $ref: '#/components/schemas/DispatchRoutineResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -10276,8 +11710,14 @@ paths: application/json: schema: $ref: '#/components/schemas/Routine' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -10322,8 +11762,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedSchedule' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -10359,8 +11811,20 @@ paths: responses: '204': description: There is no content to send for this request, but the headers may be useful. - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -10399,8 +11863,20 @@ paths: application/json: schema: $ref: '#/components/schemas/Schedule' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -10445,8 +11921,20 @@ paths: application/json: schema: $ref: '#/components/schemas/Schedule' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -10507,8 +11995,20 @@ paths: application/json: schema: $ref: '#/components/schemas/PagedScheduleRun' - default: - description: An unexpected error response. + 4XX: + description: Client error + headers: + x-ms-error-code: + required: false + description: String error code indicating what went wrong. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse' + 5XX: + description: Server error headers: x-ms-error-code: required: false @@ -10560,8 +12060,14 @@ paths: application/json: schema: $ref: '#/components/schemas/ScheduleRun' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -10654,8 +12160,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -10698,8 +12210,14 @@ paths: application/json: schema: $ref: '#/components/schemas/Skill' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -10741,8 +12259,14 @@ paths: application/json: schema: $ref: '#/components/schemas/Skill' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -10796,8 +12320,14 @@ paths: application/json: schema: $ref: '#/components/schemas/DeleteSkillResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -10841,8 +12371,14 @@ paths: schema: type: string format: binary - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -10885,8 +12421,14 @@ paths: application/json: schema: $ref: '#/components/schemas/SkillVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -11009,8 +12551,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -11059,8 +12607,14 @@ paths: application/json: schema: $ref: '#/components/schemas/SkillVersion' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -11108,8 +12662,14 @@ paths: application/json: schema: $ref: '#/components/schemas/DeleteSkillVersionResponse' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -11159,8 +12719,14 @@ paths: schema: type: string format: binary - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -11248,8 +12814,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -11281,8 +12853,14 @@ paths: application/json: schema: $ref: '#/components/schemas/ToolboxObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -11308,8 +12886,14 @@ paths: application/json: schema: $ref: '#/components/schemas/ToolboxObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -11342,8 +12926,14 @@ paths: responses: '204': description: 'There is no content to send for this request, but the headers may be useful. ' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -11376,8 +12966,14 @@ paths: application/json: schema: $ref: '#/components/schemas/ToolboxVersionObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -11499,8 +13095,14 @@ paths: type: boolean description: A value indicating whether there are additional values available not captured in this list. description: The response data for a requested list of items. - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -11538,8 +13140,14 @@ paths: application/json: schema: $ref: '#/components/schemas/ToolboxVersionObject' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: @@ -11572,8 +13180,14 @@ paths: responses: '204': description: 'There is no content to send for this request, but the headers may be useful. ' - default: - description: An unexpected error response. + 4XX: + description: Client error + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorResponse' + 5XX: + description: Server error content: application/json: schema: diff --git a/specification/ai-foundry/data-plane/Foundry/src/common/models.tsp b/specification/ai-foundry/data-plane/Foundry/src/common/models.tsp index 3a1861f98d97..1b34d953e101 100644 --- a/specification/ai-foundry/data-plane/Foundry/src/common/models.tsp +++ b/specification/ai-foundry/data-plane/Foundry/src/common/models.tsp @@ -13,7 +13,8 @@ model ApiErrorResponse { } #suppress "@azure-tools/typespec-azure-core/experimental-feature" "Using experimental feature" -@@copyProperties(OpenAI.Error, +@@copyProperties( + OpenAI.Error, { details?: OpenAI.Error[], additionalInfo?: Record, @@ -43,7 +44,7 @@ op OpenAIOperation< Params extends Reflection.Model, Response, ErrorResponse = ApiErrorResponse ->(...Params): Response | ErrorResponse; +>(...Params): Response | AzureRangeErrorResponse; #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "OpenAI-based operations are not conventionally versioned" #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "OpenAI-based operations are definitionally non-standard" @@ -52,10 +53,9 @@ op OpenAIOperationWithPreview< Params extends Reflection.Model, Response, ErrorResponse = ApiErrorResponse ->( - ...WithConditionalFoundryPreviewHeader, - ...Params, -): Response | ErrorResponse; +>(...WithConditionalFoundryPreviewHeader, ...Params): + | Response + | AzureRangeErrorResponse; alias AssetBase = { @doc("Asset ID, a unique identifier for the asset") diff --git a/specification/ai-foundry/data-plane/Foundry/src/datasets/routes.tsp b/specification/ai-foundry/data-plane/Foundry/src/datasets/routes.tsp index 36021401fd79..a38a6797a04d 100644 --- a/specification/ai-foundry/data-plane/Foundry/src/datasets/routes.tsp +++ b/specification/ai-foundry/data-plane/Foundry/src/datasets/routes.tsp @@ -20,7 +20,7 @@ interface Datasets > { @doc("Start a new or get an existing pending upload of a dataset for a specific version.") @Rest.action("startPendingUpload") - startPendingUploadVersion is Azure.Core.Foundations.ResourceOperation< + startPendingUploadVersion is FoundryResourceOperation< DatasetVersion, { @doc("The pending upload request parameters") @@ -42,7 +42,7 @@ interface Datasets @post @Rest.action("credentials") @Rest.actionSeparator("/") - getCredentials is Azure.Core.Foundations.ResourceOperation< + getCredentials is FoundryResourceOperation< DatasetVersion, { @doc("The specific version id of the DatasetVersion to operate on.") diff --git a/specification/ai-foundry/data-plane/Foundry/src/deployments/routes.tsp b/specification/ai-foundry/data-plane/Foundry/src/deployments/routes.tsp index 337fea844ae3..52a56e40ca0d 100644 --- a/specification/ai-foundry/data-plane/Foundry/src/deployments/routes.tsp +++ b/specification/ai-foundry/data-plane/Foundry/src/deployments/routes.tsp @@ -5,11 +5,7 @@ using Azure.Core.Traits; namespace Azure.AI.Projects; -alias DeploymentServiceTraits = SupportsClientRequestId & - NoRepeatableRequests & - NoConditionalRequests; - -alias DeploymentOperations = Azure.Core.ResourceOperations; +alias DeploymentOperations = FoundryAzureOperations<{}>; @tag("Deployments") interface Deployments { diff --git a/specification/ai-foundry/data-plane/Foundry/src/evaluation-rules/routes.tsp b/specification/ai-foundry/data-plane/Foundry/src/evaluation-rules/routes.tsp index 08ef21e5a1ce..13ca44a42579 100644 --- a/specification/ai-foundry/data-plane/Foundry/src/evaluation-rules/routes.tsp +++ b/specification/ai-foundry/data-plane/Foundry/src/evaluation-rules/routes.tsp @@ -27,7 +27,7 @@ alias EvaluationRulesFilterQueryParams = { interface EvaluationRules { // GET /evaluationrules/{id} @doc("Get an evaluation rule.") - get is Azure.Core.Foundations.ResourceOperation< + get is FoundryResourceOperation< EvaluationRule, {}, Azure.Core.Foundations.ResourceOkResponse @@ -36,7 +36,7 @@ interface EvaluationRules { // DELETE /evaluationrules/{id} @doc("Delete an evaluation rule.") @Http.delete - delete is Azure.Core.Foundations.ResourceOperation< + delete is FoundryResourceOperation< EvaluationRule, {}, Http.NoContentResponse @@ -45,7 +45,7 @@ interface EvaluationRules { // PUT /evaluationrules/{id} @doc("Create or update an evaluation rule.") @Http.put - createOrUpdate is Azure.Core.Foundations.ResourceOperation< + createOrUpdate is FoundryResourceOperation< EvaluationRule, { ...EvaluationRulesPreviewHeader; @@ -60,7 +60,7 @@ interface EvaluationRules { // GET /evaluationrules @doc("List all evaluation rules.") @Rest.listsResource(EvaluationRule) - list is Azure.Core.Foundations.ResourceList< + list is FoundryResourceList< EvaluationRule, EvaluationRulesFilterQueryParams, Azure.Core.Page diff --git a/specification/ai-foundry/data-plane/Foundry/src/evaluation-taxonomies/routes.tsp b/specification/ai-foundry/data-plane/Foundry/src/evaluation-taxonomies/routes.tsp index 078711243b19..fcf2c251d453 100644 --- a/specification/ai-foundry/data-plane/Foundry/src/evaluation-taxonomies/routes.tsp +++ b/specification/ai-foundry/data-plane/Foundry/src/evaluation-taxonomies/routes.tsp @@ -21,7 +21,7 @@ alias EvaluationTaxonomiesFilterQueryParamsTraits = { @tag("Evaluation Taxonomies") interface EvaluationTaxonomies { @doc("Get an evaluation run by name.") - get is Azure.Core.Foundations.ResourceOperation< + get is FoundryResourceOperation< EvaluationTaxonomy, { ...EvaluationTaxonomiesPreviewHeader; @@ -31,7 +31,7 @@ interface EvaluationTaxonomies { @doc("List evaluation taxonomies") @Rest.listsResource(EvaluationTaxonomy) - list is Azure.Core.Foundations.ResourceList< + list is FoundryResourceList< EvaluationTaxonomy, EvaluationTaxonomiesFilterQueryParamsTraits & EvaluationTaxonomiesPreviewHeader, @@ -40,7 +40,7 @@ interface EvaluationTaxonomies { @doc("Delete an evaluation taxonomy by name.") @Http.delete - delete is Azure.Core.Foundations.ResourceOperation< + delete is FoundryResourceOperation< EvaluationTaxonomy, { ...EvaluationTaxonomiesPreviewHeader; @@ -51,7 +51,7 @@ interface EvaluationTaxonomies { @doc("Create an evaluation taxonomy.") @put @route("/evaluationtaxonomies/{name}") - create is Azure.Core.Foundations.Operation< + create is FoundryOperation< { ...EvaluationTaxonomiesPreviewHeader; @@ -69,7 +69,7 @@ interface EvaluationTaxonomies { @doc("Update an evaluation taxonomy.") @patch(#{ implicitOptionality: true }) @route("/evaluationtaxonomies/{name}") - update is Azure.Core.Foundations.Operation< + update is FoundryOperation< { ...EvaluationTaxonomiesPreviewHeader; diff --git a/specification/ai-foundry/data-plane/Foundry/src/evaluations/routes.tsp b/specification/ai-foundry/data-plane/Foundry/src/evaluations/routes.tsp index 70823696263c..95bd5b2b70e5 100644 --- a/specification/ai-foundry/data-plane/Foundry/src/evaluations/routes.tsp +++ b/specification/ai-foundry/data-plane/Foundry/src/evaluations/routes.tsp @@ -1,16 +1,11 @@ import "./models.tsp"; using TypeSpec.Http; -using Azure.Core.Traits; using TypeSpec.Versioning; namespace Azure.AI.Projects; -alias ServiceTraits = SupportsClientRequestId & - NoRepeatableRequests & - NoConditionalRequests; - -alias EvaluationsOperations = Azure.Core.ResourceOperations; +alias EvaluationsOperations = FoundryAzureOperations<{}>; @route("evaluations") @removed(Versions.v1) @@ -25,7 +20,7 @@ interface Evaluations { @doc("Creates an evaluation run.") @route("runs:run") @post - create is Azure.Core.Foundations.Operation< + create is FoundryOperation< { @doc("Evaluation to be run") @body @@ -38,7 +33,7 @@ interface Evaluations { @doc("Creates an agent evaluation run.") @route("runs:runAgent") @post - createAgentEvaluation is Azure.Core.Foundations.Operation< + createAgentEvaluation is FoundryOperation< { @doc("Agent evaluation to be run") @body diff --git a/specification/ai-foundry/data-plane/Foundry/src/evaluators/routes.tsp b/specification/ai-foundry/data-plane/Foundry/src/evaluators/routes.tsp index 5ab701224d3d..8ba3552bf8ea 100644 --- a/specification/ai-foundry/data-plane/Foundry/src/evaluators/routes.tsp +++ b/specification/ai-foundry/data-plane/Foundry/src/evaluators/routes.tsp @@ -28,7 +28,7 @@ interface Evaluators { @Rest.actionSeparator("/") @Http.get @list - listVersions is Azure.Core.StandardResourceOperations.ResourceAction< + listVersions is FoundryStandardResourceOperations.ResourceAction< EvaluatorVersion, ListEvaluatorVersionsParameters & EvaluatorsPreviewHeader, Azure.Core.Page @@ -38,7 +38,7 @@ interface Evaluators { #suppress "@azure-tools/typespec-azure-core/use-standard-operations" @doc("List the latest version of each evaluator") @Rest.listsResource(EvaluatorVersion) - listLatestVersions is Azure.Core.Foundations.ResourceList< + listLatestVersions is FoundryResourceList< EvaluatorVersion, ListEvaluatorVersionsParameters & EvaluatorsPreviewHeader, Azure.Core.Page @@ -50,7 +50,7 @@ interface Evaluators { "Get the specific version of the {name}. The service returns 404 Not Found error if the {name} does not exist.", EvaluatorVersion ) - getVersion is Azure.Core.Foundations.ResourceOperation< + getVersion is FoundryResourceOperation< EvaluatorVersion, { ...EvaluatorsPreviewHeader; @@ -73,7 +73,7 @@ interface Evaluators { EvaluatorVersion ) @Http.delete - deleteVersion is Azure.Core.Foundations.ResourceOperation< + deleteVersion is FoundryResourceOperation< EvaluatorVersion, { ...EvaluatorsPreviewHeader; @@ -91,7 +91,7 @@ interface Evaluators { @doc("Create a new {name} with auto incremented version id", EvaluatorVersion) @Rest.segment("versions") @Http.post - createVersion is Azure.Core.Foundations.ResourceOperation< + createVersion is FoundryResourceOperation< EvaluatorVersion, { ...EvaluatorsPreviewHeader; @@ -107,7 +107,7 @@ interface Evaluators { #suppress "@azure-tools/typespec-azure-core/use-standard-operations" @doc("Update an existing {name} with the given version id", EvaluatorVersion) @Http.patch(#{ implicitOptionality: true }) - updateVersion is Azure.Core.Foundations.ResourceOperation< + updateVersion is FoundryResourceOperation< EvaluatorVersion, { ...EvaluatorsPreviewHeader; diff --git a/specification/ai-foundry/data-plane/Foundry/src/models/routes.tsp b/specification/ai-foundry/data-plane/Foundry/src/models/routes.tsp index 897a107a87ba..9873a1880511 100644 --- a/specification/ai-foundry/data-plane/Foundry/src/models/routes.tsp +++ b/specification/ai-foundry/data-plane/Foundry/src/models/routes.tsp @@ -33,7 +33,7 @@ interface Models ModelVersion ) @extension("x-ms-foundry-meta", ModelsRequiredPreviews) - getVersion is Azure.Core.Foundations.ResourceOperation< + getVersion is FoundryResourceOperation< ModelVersion, { ...ModelsPreviewHeader; @@ -53,7 +53,7 @@ interface Models ) @delete @extension("x-ms-foundry-meta", ModelsRequiredPreviews) - deleteVersion is Azure.Core.Foundations.ResourceOperation< + deleteVersion is FoundryResourceOperation< ModelVersion, { ...ModelsPreviewHeader; @@ -75,7 +75,7 @@ interface Models @operationId("Models_updateVersion") @patch @extension("x-ms-foundry-meta", ModelsRequiredPreviews) - createOrUpdateVersion is Azure.Core.Foundations.ResourceOperation< + createOrUpdateVersion is FoundryResourceOperation< ModelVersion, InputParameters & ModelsPreviewHeader, Azure.Core.Foundations.ResourceCreatedOrOkResponse @@ -86,7 +86,7 @@ interface Models @route("/models/{name}/versions/{version}/createAsync") @post @extension("x-ms-foundry-meta", ModelsRequiredPreviews) - createAsync is Azure.Core.Foundations.Operation< + createAsync is FoundryOperation< { ...ModelsPreviewHeader; @@ -110,7 +110,7 @@ interface Models @route("/models/{name}/versions/{version}/startPendingUpload") @post @extension("x-ms-foundry-meta", ModelsRequiredPreviews) - startPendingUpload is Azure.Core.Foundations.Operation< + startPendingUpload is FoundryOperation< { ...ModelsPreviewHeader; @@ -133,7 +133,7 @@ interface Models @route("/models/{name}/versions/{version}/credentials") @post @extension("x-ms-foundry-meta", ModelsRequiredPreviews) - getCredentials is Azure.Core.Foundations.Operation< + getCredentials is FoundryOperation< { ...ModelsPreviewHeader; diff --git a/specification/ai-foundry/data-plane/Foundry/src/red-teams/routes.tsp b/specification/ai-foundry/data-plane/Foundry/src/red-teams/routes.tsp index 7c259ef4b211..9b4721150af1 100644 --- a/specification/ai-foundry/data-plane/Foundry/src/red-teams/routes.tsp +++ b/specification/ai-foundry/data-plane/Foundry/src/red-teams/routes.tsp @@ -11,7 +11,7 @@ alias RedTeamsPreviewHeader = WithRequiredFoundryPreviewHeader diff --git a/specification/ai-foundry/data-plane/Foundry/src/schedules/routes.tsp b/specification/ai-foundry/data-plane/Foundry/src/schedules/routes.tsp index cd9023956b9a..7358f82e74c2 100644 --- a/specification/ai-foundry/data-plane/Foundry/src/schedules/routes.tsp +++ b/specification/ai-foundry/data-plane/Foundry/src/schedules/routes.tsp @@ -30,7 +30,7 @@ interface Schedules { #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "We need explicit definition for header support" @doc("Delete a schedule.") @Http.delete - delete is Azure.Core.Foundations.ResourceOperation< + delete is FoundryResourceOperation< Schedule, { ...SchedulesPreviewHeader; @@ -40,7 +40,7 @@ interface Schedules { #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "We need explicit definition for header support" @doc("Get a schedule by id.") - get is Azure.Core.Foundations.ResourceOperation< + get is FoundryResourceOperation< Schedule, { ...SchedulesPreviewHeader; @@ -51,7 +51,7 @@ interface Schedules { #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "We need explicit definition for header support" @doc("List all schedules.") @Rest.listsResource(Schedule) - list is Azure.Core.Foundations.ResourceList< + list is FoundryResourceList< Schedule, SchedulesFilterQueryParams & SchedulesPreviewHeader, Azure.Core.Page @@ -60,7 +60,7 @@ interface Schedules { #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "We need explicit definition for header support" @doc("Create or update operation template.") @Http.put - createOrUpdate is Azure.Core.Foundations.ResourceOperation< + createOrUpdate is FoundryResourceOperation< Schedule, SchedulesCreateOrUpdateParams, Azure.Core.Foundations.ResourceCreatedOrOkResponse @@ -88,7 +88,7 @@ interface Schedules { #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "We need explicit definition for header support" @doc("List all schedule runs.") @Rest.listsResource(ScheduleRun) - listRuns is Azure.Core.Foundations.ResourceList< + listRuns is FoundryResourceList< ScheduleRun, SchedulesFilterQueryParams & SchedulesPreviewHeader, Azure.Core.Page diff --git a/specification/ai-foundry/data-plane/Foundry/src/servicepatterns.tsp b/specification/ai-foundry/data-plane/Foundry/src/servicepatterns.tsp index af19f0226a4b..6a51beebf448 100644 --- a/specification/ai-foundry/data-plane/Foundry/src/servicepatterns.tsp +++ b/specification/ai-foundry/data-plane/Foundry/src/servicepatterns.tsp @@ -16,13 +16,79 @@ alias FoundryDataPlaneApiVersionParameter = { apiVersion: string; }; +/** Error response for Azure range errors. */ +alias AzureRangeErrorResponse = + | { + ...ErrorResponseParameter; + + @maxValue(499) + @minValue(400) + @statusCode + statusCode: int32; + } + | { + ...ErrorResponseParameter; + + @maxValue(599) + @minValue(500) + @statusCode + statusCode: int32; + }; + alias FoundryDataPlaneAzureTraits = Azure.Core.Traits.SupportsClientRequestId & Azure.Core.Traits.NoRepeatableRequests & Azure.Core.Traits.NoConditionalRequests & FoundryDataPlaneApiVersionParameter; -alias FoundryAzureOperations = Azure.Core.ResourceOperations; +alias FoundryAzureOperations = Azure.Core.ResourceOperations< + ExtraTraits & FoundryDataPlaneAzureTraits, + AzureRangeErrorResponse +>; + +alias FoundryStandardResourceOperations = Azure.Core.ResourceOperations< + Azure.Core.Traits.NoConditionalRequests & + Azure.Core.Traits.NoRepeatableRequests & + Azure.Core.Traits.NoClientRequestId, + AzureRangeErrorResponse +>; + +op FoundryOperation< + Params extends Reflection.Model, + Response, + Traits extends Reflection.Model = {} +> is Azure.Core.Foundations.Operation< + Params, + Response, + Traits, + AzureRangeErrorResponse +>; + +#suppress "@azure-tools/typespec-azure-core/no-response-body" "" +op FoundryResourceOperation< + Resource extends Reflection.Model, + Params extends Reflection.Model, + Response, + Traits extends Reflection.Model = {} +> is Azure.Core.Foundations.ResourceOperation< + Resource, + Params, + Response, + Traits, + AzureRangeErrorResponse +>; + +op FoundryResourceList< + Resource extends Reflection.Model, + Params extends Reflection.Model, + Response extends Reflection.Model, + Traits extends Reflection.Model = {} +> is Azure.Core.Foundations.ResourceList< + Resource, + Params, + Response, + Traits, + AzureRangeErrorResponse +>; #suppress "@azure-tools/typespec-azure-core/long-running-polling-operation-required" "" #suppress "@azure-tools/typespec-azure-core/no-response-body" "" @@ -30,7 +96,9 @@ op FoundryDataPlaneOperation< Params extends Reflection.Model, Response, ErrorResponse = ApiErrorResponse ->(...Params, ...FoundryDataPlaneApiVersionParameter): Response | ErrorResponse; +>(...Params, ...FoundryDataPlaneApiVersionParameter): + | Response + | AzureRangeErrorResponse; // ---- Feature opt-in keys & preview headers ---- @@ -59,7 +127,9 @@ union FoundryFeaturesOptInKeys { agents_optimization_v1_preview: "AgentsOptimization=V1Preview", } -alias WithRequiredFoundryPreviewHeader = { +alias WithRequiredFoundryPreviewHeader = { /** * A feature flag opt-in required when using preview operations or modifying persisted preview resources. */ @@ -67,7 +137,9 @@ alias WithRequiredFoundryPreviewHeader = { +alias WithConditionalFoundryPreviewHeader = { /** * A feature flag opt-in required when using preview operations or modifying persisted preview resources. */ @@ -214,7 +286,7 @@ interface VersionedOperations< @Rest.actionSeparator("/") @get @list - listVersions is Azure.Core.StandardResourceOperations.ResourceAction< + listVersions is FoundryStandardResourceOperations.ResourceAction< TEntityType, TListVersionsParameters, Azure.Core.Page @@ -223,7 +295,7 @@ interface VersionedOperations< #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "Suppress `Operation should be defined using a signature from the Azure.Core namespace.`" @doc("List the latest version of each {name}", TEntityType) @Rest.listsResource(TEntityType) - listLatest is Azure.Core.Foundations.ResourceList< + listLatest is FoundryResourceList< TEntityType, TListLatestParameters, Azure.Core.Page @@ -234,7 +306,7 @@ interface VersionedOperations< "Get the specific version of the {name}. The service returns 404 Not Found error if the {name} does not exist.", TEntityType ) - getVersion is Azure.Core.Foundations.ResourceOperation< + getVersion is FoundryResourceOperation< TEntityType, { @doc("The specific version id of the {name} to retrieve.", TEntityType) @@ -251,7 +323,7 @@ interface VersionedOperations< TEntityType ) @delete - deleteVersion is Azure.Core.Foundations.ResourceOperation< + deleteVersion is FoundryResourceOperation< TEntityType, { @doc("The version of the {name} to delete.", TEntityType) @@ -268,7 +340,7 @@ interface VersionedOperations< TEntityType ) @patch - createOrUpdateVersion is Azure.Core.Foundations.ResourceOperation< + createOrUpdateVersion is FoundryResourceOperation< TEntityType, TInputParameters, Azure.Core.Foundations.ResourceCreatedOrOkResponse @@ -476,7 +548,9 @@ op deleteJob is FoundryDataPlaneOperatio /** Delete a job (preview). Returns 204 No Content. */ #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "Job templates are project-standard operations" @delete -op deleteJobPreview is FoundryDataPlanePreviewOperation< +op deleteJobPreview is FoundryDataPlanePreviewOperation< AreaPreviewLabel, { /** The ID of the job to delete. */