Skip to content

Commit

Permalink
added 400 status code for users id (#666)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmtrth25 authored Dec 19, 2023
1 parent 71684f4 commit 2b4a943
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docs/user/user.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,16 @@ paths:
responses:
204:
description: No Content
400:
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/Error'
example:
status: 400
code: 'INVALID_ID'
message: 'ID is invalid.'
401:
description: Unauthorized
content:
Expand Down Expand Up @@ -608,7 +618,7 @@ paths:
/users/{id}/cooperations:
get:
security:
- cookieAuth: [ ]
- cookieAuth: []
tags:
- Users
summary: Find cooperations for a user with the specified ID
Expand Down

0 comments on commit 2b4a943

Please sign in to comment.