diff --git a/core/openapi-full.json b/core/openapi-full.json index 805944296b7..943005cb00e 100644 --- a/core/openapi-full.json +++ b/core/openapi-full.json @@ -6487,7 +6487,6 @@ "text_processing_api" ], "security": [ - {}, { "bearer_auth": [] }, @@ -6693,6 +6692,34 @@ } } } + }, + "401": { + "description": "Current user is not logged in", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } } } } @@ -6705,7 +6732,6 @@ "text_processing_api" ], "security": [ - {}, { "bearer_auth": [] }, @@ -6849,6 +6875,34 @@ } } } + }, + "401": { + "description": "Current user is not logged in", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } } } }, diff --git a/core/openapi.json b/core/openapi.json index f1f04cb02d9..bc3fc2de975 100644 --- a/core/openapi.json +++ b/core/openapi.json @@ -6487,7 +6487,6 @@ "text_processing_api" ], "security": [ - {}, { "bearer_auth": [] }, @@ -6693,6 +6692,34 @@ } } } + }, + "401": { + "description": "Current user is not logged in", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } } } } @@ -6705,7 +6732,6 @@ "text_processing_api" ], "security": [ - {}, { "bearer_auth": [] }, @@ -6849,6 +6875,34 @@ } } } + }, + "401": { + "description": "Current user is not logged in", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } } } }, diff --git a/openapi.json b/openapi.json index e86802a938d..a52109d8d64 100644 --- a/openapi.json +++ b/openapi.json @@ -10000,7 +10000,6 @@ "core/text_processing_api" ], "security": [ - {}, { "bearer_auth": [] }, @@ -10206,6 +10205,34 @@ } } } + }, + "401": { + "description": "Current user is not logged in", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } } } } @@ -10218,7 +10245,6 @@ "core/text_processing_api" ], "security": [ - {}, { "bearer_auth": [] }, @@ -10362,6 +10388,34 @@ } } } + }, + "401": { + "description": "Current user is not logged in", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } } } },