From 63b5a18f6d081c451844bde47a7be4f6468fbe35 Mon Sep 17 00:00:00 2001 From: Nicholas Wallace Date: Sun, 23 Jun 2024 17:59:28 +0000 Subject: [PATCH] Fix: required `id` in wrong body --- docs/controllers/NotificationController.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/controllers/NotificationController.yaml b/docs/controllers/NotificationController.yaml index f0cd484a5..4d3fa09be 100644 --- a/docs/controllers/NotificationController.yaml +++ b/docs/controllers/NotificationController.yaml @@ -167,8 +167,8 @@ paths: '404': $ref: '#/components/responses/notification404' patch: - operationId: createNotification - description: Update Notification settings. + operationId: updateNotification + description: Update individual Notification tags: - Notification requestBody: @@ -191,8 +191,6 @@ paths: $ref: '../objects/Notification.yaml#/components/schemas/enabled' type: $ref: '../objects/Notification.yaml#/components/schemas/notificationType' - required: - - id responses: '200': description: Success