mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-12 20:31:36 +00:00
Nullable libraryId schema
This commit is contained in:
parent
b49219338c
commit
25178034d0
2 changed files with 7 additions and 1 deletions
|
|
@ -10,6 +10,12 @@ components:
|
|||
description: The ID of the library.
|
||||
format: uuid
|
||||
example: 'e4bb1afb-4a4f-4dd6-8be0-e615d233185b'
|
||||
libraryIdNullable:
|
||||
type: string
|
||||
description: The ID of the library. Applies to all libraries if `null`.
|
||||
format: uuid
|
||||
nullable: true
|
||||
example: 'e4bb1afb-4a4f-4dd6-8be0-e615d233185b'
|
||||
libraryName:
|
||||
description: The name of the library.
|
||||
type: string
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ components:
|
|||
id:
|
||||
$ref: '#/components/schemas/notificationId'
|
||||
libraryId:
|
||||
$ref: './Library.yaml#/components/schemas/libraryId'
|
||||
$ref: './Library.yaml#/components/schemas/libraryIdNullable'
|
||||
eventName:
|
||||
$ref: '#/components/schemas/notificationEventName'
|
||||
urls:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue