mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-14 13:21:39 +00:00
Temporary: nullable Author schemas
This commit is contained in:
parent
771895de68
commit
0cadb99c52
1 changed files with 9 additions and 3 deletions
|
|
@ -6,8 +6,10 @@ components:
|
||||||
format: uuid
|
format: uuid
|
||||||
example: e4bb1afb-4a4f-4dd6-8be0-e615d233185b
|
example: e4bb1afb-4a4f-4dd6-8be0-e615d233185b
|
||||||
authorAsin:
|
authorAsin:
|
||||||
type: string
|
|
||||||
description: The Audible identifier (ASIN) of the author. Will be null if unknown. Not the Amazon identifier.
|
description: The Audible identifier (ASIN) of the author. Will be null if unknown. Not the Amazon identifier.
|
||||||
|
oneOf:
|
||||||
|
- type: string
|
||||||
|
- type: null
|
||||||
nullable: true
|
nullable: true
|
||||||
example: B000APZOQA
|
example: B000APZOQA
|
||||||
authorName:
|
authorName:
|
||||||
|
|
@ -40,7 +42,9 @@ components:
|
||||||
$ref: '#/components/schemas/authorName'
|
$ref: '#/components/schemas/authorName'
|
||||||
description:
|
description:
|
||||||
description: A description of the author. Will be null if there is none.
|
description: A description of the author. Will be null if there is none.
|
||||||
type: string
|
oneOf:
|
||||||
|
- type: string
|
||||||
|
- type: null
|
||||||
nullable: true
|
nullable: true
|
||||||
example: |
|
example: |
|
||||||
Terry Goodkind is a #1 New York Times Bestselling Author and creator of the critically acclaimed masterwork,
|
Terry Goodkind is a #1 New York Times Bestselling Author and creator of the critically acclaimed masterwork,
|
||||||
|
|
@ -52,7 +56,9 @@ components:
|
||||||
situations.
|
situations.
|
||||||
imagePath:
|
imagePath:
|
||||||
description: The absolute path for the author image located in the `metadata/` directory. Will be null if there is no image.
|
description: The absolute path for the author image located in the `metadata/` directory. Will be null if there is no image.
|
||||||
type: string
|
oneOf:
|
||||||
|
- type: string
|
||||||
|
- type: null
|
||||||
nullable: true
|
nullable: true
|
||||||
example: /metadata/authors/aut_bxxbyjiptmgb56yzoz.jpg
|
example: /metadata/authors/aut_bxxbyjiptmgb56yzoz.jpg
|
||||||
addedAt:
|
addedAt:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue