Fix: required id in wrong body

This commit is contained in:
Nicholas Wallace 2024-06-23 17:59:28 +00:00
parent c77582c180
commit 63b5a18f6d

View file

@ -167,8 +167,8 @@ paths:
'404': '404':
$ref: '#/components/responses/notification404' $ref: '#/components/responses/notification404'
patch: patch:
operationId: createNotification operationId: updateNotification
description: Update Notification settings. description: Update individual Notification
tags: tags:
- Notification - Notification
requestBody: requestBody:
@ -191,8 +191,6 @@ paths:
$ref: '../objects/Notification.yaml#/components/schemas/enabled' $ref: '../objects/Notification.yaml#/components/schemas/enabled'
type: type:
$ref: '../objects/Notification.yaml#/components/schemas/notificationType' $ref: '../objects/Notification.yaml#/components/schemas/notificationType'
required:
- id
responses: responses:
'200': '200':
description: Success description: Success