Add doc for HTTP 400 on vote creation

This commit is contained in:
2025-01-14 12:44:06 +01:00
parent 3c2d45083f
commit 2847c53bca

View File

@ -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: