From 1fb646b8a13cea36f6daf74a8df80ee45fab6192 Mon Sep 17 00:00:00 2001 From: vityaman Date: Tue, 30 Apr 2024 12:23:15 +0300 Subject: [PATCH] #91 Fixed Undocumented HTTP status code 400 --- botalka/src/main/resources/static/openapi/api.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/botalka/src/main/resources/static/openapi/api.yml b/botalka/src/main/resources/static/openapi/api.yml index 7b29d37..e49cbb8 100644 --- a/botalka/src/main/resources/static/openapi/api.yml +++ b/botalka/src/main/resources/static/openapi/api.yml @@ -230,6 +230,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PromotionRequest' + 400: + description: Invalid parameters + content: + application/json: + schema: + $ref: '#/components/schemas/GeneralError' 404: description: User not found content: