From bc960bca1b011933ad9b7cdc05378f7aa53a545b Mon Sep 17 00:00:00 2001 From: Oleksandra Sydorenko <105361812+sandrvvu@users.noreply.github.com> Date: Wed, 4 Dec 2024 17:11:26 +0200 Subject: [PATCH] fix: add 409 res to swagger docs for user patch (#1027) --- docs/user/user.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/user/user.yaml b/docs/user/user.yaml index 46590c71..985d3bd8 100644 --- a/docs/user/user.yaml +++ b/docs/user/user.yaml @@ -373,6 +373,16 @@ paths: status: 404 code: 'DOCUMENT_NOT_FOUND' message: 'User with the specified id was not found.' + 409: + description: Conflict + content: + application/json: + schema: + $ref: '#/components/Error' + example: + status: 409 + code: 'VALIDATION_ERROR' + message: 'Validation for new user info failed.' delete: security: - cookieAuth: []