Remove: id from Notification requestBody

This commit is contained in:
Nicholas Wallace 2024-06-23 17:52:51 +00:00
parent 25178034d0
commit df801f792e

View file

@ -74,11 +74,7 @@ paths:
type: object type: object
properties: properties:
libraryId: libraryId:
type: string $ref: '../objects/Library.yaml#/components/schemas/libraryIdNullable'
description: The ID of the library for the notification. Applies to all libraries if `null`.
nullable: true
format: uuid
example: 'e4bb1afb-4a4f-4dd6-8be0-e615d233185b'
eventName: eventName:
$ref: '../objects/Notification.yaml#/components/schemas/notificationEventName' $ref: '../objects/Notification.yaml#/components/schemas/notificationEventName'
urls: urls:
@ -181,8 +177,6 @@ paths:
schema: schema:
type: object type: object
properties: properties:
id:
$ref: '../objects/Notification.yaml#/components/schemas/notificationId'
libraryId: libraryId:
$ref: '../objects/Library.yaml#/components/schemas/libraryId' $ref: '../objects/Library.yaml#/components/schemas/libraryId'
eventName: eventName: