Add doc for HTTP 400 on vote creation
This commit is contained in:
@ -79,6 +79,12 @@ paths:
|
|||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: Votes cast
|
description: Votes cast
|
||||||
|
400:
|
||||||
|
description: Request malformed
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: "#/components/schemas/ErrorResponse"
|
||||||
404:
|
404:
|
||||||
description: Election not found
|
description: Election not found
|
||||||
content:
|
content:
|
||||||
|
Reference in New Issue
Block a user