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