fix: přidání nových typů do OpenAPI spec pro přežití regenerace
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
Typy PendingQr, NotificationSettings a nové endpointy (dismissQr, notifications/settings) byly přidány přímo do YAML specifikace místo ručních úprav generovaných souborů.
This commit was merged in pull request #46.
This commit is contained in:
26
types/paths/notifications/settings.yml
Normal file
26
types/paths/notifications/settings.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
get:
|
||||
operationId: getNotificationSettings
|
||||
summary: Vrátí nastavení notifikací pro přihlášeného uživatele.
|
||||
responses:
|
||||
"200":
|
||||
description: Nastavení notifikací
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "../../schemas/_index.yml#/NotificationSettings"
|
||||
post:
|
||||
operationId: updateNotificationSettings
|
||||
summary: Uloží nastavení notifikací pro přihlášeného uživatele.
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "../../schemas/_index.yml#/NotificationSettings"
|
||||
responses:
|
||||
"200":
|
||||
description: Nastavení notifikací bylo uloženo.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "../../schemas/_index.yml#/NotificationSettings"
|
||||
Reference in New Issue
Block a user