mirror of
https://github.com/notherealmarco/WASAPhoto.git
synced 2025-03-14 06:06:15 +01:00
Clarified 400 responses descriptions
This commit is contained in:
parent
f896e9ab48
commit
2baddf724d
1 changed files with 4 additions and 4 deletions
|
@ -208,8 +208,8 @@ paths:
|
|||
schema:
|
||||
$ref: "#/components/schemas/generic_response"
|
||||
example:
|
||||
status: "User not found"
|
||||
'400':
|
||||
status: "Resource not found"
|
||||
'400': # todo: not sure if this is the right error code
|
||||
description: Trying to follow a user that does not exist.
|
||||
content:
|
||||
application/json:
|
||||
|
@ -586,13 +586,13 @@ paths:
|
|||
example:
|
||||
status: "Resource not found"
|
||||
'400':
|
||||
description: Bad request, there is an error in one of the parameters.
|
||||
description: Some parameters are malformed.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/generic_response"
|
||||
example:
|
||||
status: "Invalid limit or start_index"
|
||||
status: "Invalid start_index or limit value"
|
||||
|
||||
post:
|
||||
tags: ["photos"]
|
||||
|
|
Loading…
Reference in a new issue