mirror of
https://github.com/notherealmarco/WASAPhoto.git
synced 2025-03-14 14:16: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:
|
schema:
|
||||||
$ref: "#/components/schemas/generic_response"
|
$ref: "#/components/schemas/generic_response"
|
||||||
example:
|
example:
|
||||||
status: "User not found"
|
status: "Resource not found"
|
||||||
'400':
|
'400': # todo: not sure if this is the right error code
|
||||||
description: Trying to follow a user that does not exist.
|
description: Trying to follow a user that does not exist.
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
|
@ -586,13 +586,13 @@ paths:
|
||||||
example:
|
example:
|
||||||
status: "Resource not found"
|
status: "Resource not found"
|
||||||
'400':
|
'400':
|
||||||
description: Bad request, there is an error in one of the parameters.
|
description: Some parameters are malformed.
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/generic_response"
|
$ref: "#/components/schemas/generic_response"
|
||||||
example:
|
example:
|
||||||
status: "Invalid limit or start_index"
|
status: "Invalid start_index or limit value"
|
||||||
|
|
||||||
post:
|
post:
|
||||||
tags: ["photos"]
|
tags: ["photos"]
|
||||||
|
|
Loading…
Reference in a new issue