feat: založení základní stránky příjem/výdej + import a statistiky

This commit is contained in:
Ondřej Anděl
2026-09-07 14:58:49 +02:00
commit a5711f3e1e
98 changed files with 15505 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
get:
operationId: getFoodStats
summary: Vrátí statistiky útraty a jídel za zvolené období.
parameters:
- in: query
name: from
required: true
schema:
type: string
format: date
description: První den období (včetně), YYYY-MM-DD
- in: query
name: to
required: true
schema:
type: string
format: date
description: Poslední den období (včetně), YYYY-MM-DD
responses:
"200":
description: Statistiky za období
content:
application/json:
schema:
$ref: "../../schemas/_index.yml#/FoodStats"
"400":
description: Neplatný rozsah
"401":
description: Neautentizovaný uživatel