Refresh menu, první část

This commit is contained in:
2025-04-15 19:51:41 +02:00
parent 49b8ab5c13
commit 67758d91cf
6 changed files with 115 additions and 6 deletions

View File

@@ -26,6 +26,8 @@ paths:
$ref: "./paths/food/changeDepartureTime.yml"
/food/jdemeObed:
$ref: "./paths/food/jdemeObed.yml"
/food/refreshMenu:
$ref: "./paths/food/refreshMenu.yml"
# Pizza day (/api/pizzaDay)
/pizzaDay/create:

View File

@@ -0,0 +1,15 @@
post:
operationId: refreshMenu
summary: Přenačtení menu vybraných podniků
requestBody:
required: true
content:
application/json:
schema:
type: array
items:
$ref: "../../schemas/_index.yml#/Restaurant"
responses:
"200":
description: Menu bylo přenačteno