Skip to content

Commit

Permalink
fix: add 409 res to swagger docs for user patch (#1027)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrvvu authored Dec 4, 2024
1 parent 83f68bc commit bc960bc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/user/user.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: []
Expand Down

0 comments on commit bc960bc

Please sign in to comment.