From efc299dbfec3cb5ac6deab5b91afc2da22eea15d Mon Sep 17 00:00:00 2001 From: box-apimgmt <142984025+box-apimgmt@users.noreply.github.com> Date: Mon, 21 Oct 2024 21:58:31 +0200 Subject: [PATCH] feat: update AI error response codes #465 (#466) --- openapi.json | 54 ++++++++++++++++++++++++++-------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/openapi.json b/openapi.json index 46a96ae3..ea8af760 100644 --- a/openapi.json +++ b/openapi.json @@ -14,7 +14,7 @@ "url": "http://www.apache.org/licenses/LICENSE-2.0" }, "version": "2.0.0", - "x-box-commit-hash": "01175ede2e" + "x-box-commit-hash": "04f2210a1d" }, "servers": [ { @@ -24062,8 +24062,8 @@ } } }, - "400": { - "description": "An unexpected client error.", + "500": { + "description": "An unexpected server error.", "content": { "application/json": { "schema": { @@ -24072,8 +24072,8 @@ } } }, - "500": { - "description": "An unexpected server error.", + "default": { + "description": "An unexpected error.", "content": { "application/json": { "schema": { @@ -24116,8 +24116,8 @@ } } }, - "400": { - "description": "An unexpected client error.", + "500": { + "description": "An unexpected server error.", "content": { "application/json": { "schema": { @@ -24126,8 +24126,8 @@ } } }, - "500": { - "description": "An unexpected server error.", + "default": { + "description": "An unexpected error.", "content": { "application/json": { "schema": { @@ -24212,8 +24212,8 @@ } } }, - "400": { - "description": "An unexpected client error.", + "500": { + "description": "An unexpected server error.", "content": { "application/json": { "schema": { @@ -24222,8 +24222,8 @@ } } }, - "500": { - "description": "An unexpected server error.", + "default": { + "description": "An unexpected error.", "content": { "application/json": { "schema": { @@ -24266,8 +24266,8 @@ } } }, - "400": { - "description": "An unexpected client error.", + "500": { + "description": "An unexpected server error.", "content": { "application/json": { "schema": { @@ -24276,8 +24276,8 @@ } } }, - "500": { - "description": "An unexpected server error.", + "default": { + "description": "An unexpected error.", "content": { "application/json": { "schema": { @@ -24320,8 +24320,8 @@ } } }, - "400": { - "description": "An unexpected client error.", + "500": { + "description": "An unexpected server error.", "content": { "application/json": { "schema": { @@ -24330,8 +24330,8 @@ } } }, - "500": { - "description": "An unexpected server error.", + "default": { + "description": "An unexpected error.", "content": { "application/json": { "schema": { @@ -39550,6 +39550,11 @@ } } }, + "security": [ + { + "OAuth2Security": [] + } + ], "tags": [ { "name": "AI", @@ -39905,10 +39910,5 @@ "externalDocs": { "description": "Box Developer Documentation", "url": "https://developer.box.com" - }, - "security": [ - { - "OAuth2Security": [] - } - ] + } } \ No newline at end of file