Insert election with uuid instead of auto-generated id

This commit is contained in:
2025-01-20 10:04:15 +01:00
parent 729fbecae6
commit 5668b1cd6a
13 changed files with 94 additions and 360 deletions

View File

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