mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-12 12:21:34 +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.
|
description: The ID of the library.
|
||||||
format: uuid
|
format: uuid
|
||||||
example: 'e4bb1afb-4a4f-4dd6-8be0-e615d233185b'
|
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:
|
libraryName:
|
||||||
description: The name of the library.
|
description: The name of the library.
|
||||||
type: string
|
type: string
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ components:
|
||||||
id:
|
id:
|
||||||
$ref: '#/components/schemas/notificationId'
|
$ref: '#/components/schemas/notificationId'
|
||||||
libraryId:
|
libraryId:
|
||||||
$ref: './Library.yaml#/components/schemas/libraryId'
|
$ref: './Library.yaml#/components/schemas/libraryIdNullable'
|
||||||
eventName:
|
eventName:
|
||||||
$ref: '#/components/schemas/notificationEventName'
|
$ref: '#/components/schemas/notificationEventName'
|
||||||
urls:
|
urls:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue