Insert election with uuid instead of auto-generated id
This commit is contained in:
@ -34,7 +34,7 @@ paths:
|
||||
required: true
|
||||
description: The ID of the election
|
||||
schema:
|
||||
type: integer
|
||||
type: string
|
||||
responses:
|
||||
200:
|
||||
description: Election returned
|
||||
@ -102,7 +102,7 @@ paths:
|
||||
required: true
|
||||
description: The ID of the election
|
||||
schema:
|
||||
type: integer
|
||||
type: string
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
@ -148,7 +148,7 @@ paths:
|
||||
required: true
|
||||
description: The ID of the election
|
||||
schema:
|
||||
type: integer
|
||||
type: string
|
||||
responses:
|
||||
200:
|
||||
description: Election results returned
|
||||
@ -190,7 +190,7 @@ components:
|
||||
- choices
|
||||
properties:
|
||||
id:
|
||||
type: integer
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
tokens:
|
||||
|
Reference in New Issue
Block a user