Incomplete implementation of createVotes
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user