Incomplete implementation of createVotes

This commit is contained in:
2025-01-02 19:24:32 +01:00
parent 9efe9a3537
commit 0229f78976
9 changed files with 136 additions and 13 deletions

View File

@ -221,15 +221,21 @@ components:
CreateVotesRequest:
type: object
required:
- electionId
- choices
properties:
voterIdentity:
type: string
minLength: 1
description: Must be filled if election has known voters
electionId:
type: integer
choices:
type: array
items:
required:
- choiceText
- tokens
properties:
choiceText:
type: string