From e35144f427ec8c08ed39e55b372148724a2bcabe Mon Sep 17 00:00:00 2001 From: Frank Date: Tue, 25 Jul 2023 07:40:57 +0200 Subject: [PATCH] Update owner_openapi.yaml Return code for "unauthorized" and "bad request" are added --- openapi/owner_openapi.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/openapi/owner_openapi.yaml b/openapi/owner_openapi.yaml index 6401c4c..8c0f921 100644 --- a/openapi/owner_openapi.yaml +++ b/openapi/owner_openapi.yaml @@ -28,6 +28,12 @@ paths: type: array items: $ref: '#/components/schemas/Owner' + "401": + description: Unauthorized + content: + text/plain: + schema: + type: string /owners/search: get: operationId: getOwnersSearch @@ -57,6 +63,18 @@ paths: type: array items: $ref: '#/components/schemas/Owner' + "401": + description: Unauthorized + content: + text/plain: + schema: + type: string + "400": + description: Bad request + content: + text/plain: + schema: + type: string components: schemas: Owner: