From 75b874b67805d00b3a6bcfb2df1993cc728e1724 Mon Sep 17 00:00:00 2001 From: sandrvvu Date: Wed, 4 Dec 2024 15:38:10 +0200 Subject: [PATCH] fix: add 409 res to swagger docs for user patch --- docs/user/user.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/user/user.yaml b/docs/user/user.yaml index 1f0806f9..89585891 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: []