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: