feat: podpora ručního generování QR kódů pro platby
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful

This commit is contained in:
2026-02-20 14:17:39 +01:00
parent a849f4e922
commit cc98c2be0d
15 changed files with 935 additions and 7 deletions

23
types/paths/dev/clear.yml Normal file
View File

@@ -0,0 +1,23 @@
post:
operationId: clearMockData
summary: Smazání všech voleb pro daný den (pouze DEV režim)
requestBody:
required: false
content:
application/json:
schema:
$ref: "../../schemas/_index.yml#/ClearMockDataRequest"
responses:
"200":
description: Data byla úspěšně smazána
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
dayIndex:
type: integer
"403":
description: Endpoint není dostupný v tomto režimu

View File

@@ -0,0 +1,25 @@
post:
operationId: generateMockData
summary: Vygenerování mock dat pro testování (pouze DEV režim)
requestBody:
required: false
content:
application/json:
schema:
$ref: "../../schemas/_index.yml#/GenerateMockDataRequest"
responses:
"200":
description: Mock data byla úspěšně vygenerována
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
count:
type: integer
dayIndex:
type: integer
"403":
description: Endpoint není dostupný v tomto režimu