Updated LibraryItemController Paths (See description)

Added missing abridged
Fixed wrong type on start of bookChapter
Added missing libraryFile for LibraryItem
Added missing type to id in media
This commit is contained in:
Vito0912 2024-07-29 21:44:43 +02:00
parent 11826c37a3
commit e6d4e89bd1
6 changed files with 49 additions and 6 deletions

View file

@ -78,6 +78,10 @@ components:
description: Whether the book has been marked as explicit.
type: boolean
example: false
abridged:
description: Whether the book is abridged.
type: boolean
example: false
bookMetadataMinified:
type: object
description: The minified metadata for a book in the database.
@ -107,6 +111,7 @@ components:
bookChapter:
type: object
description: A book chapter. Includes the title and timestamps.
nullable: true
properties:
id:
description: The ID of the book chapter.
@ -114,7 +119,7 @@ components:
example: 0
start:
description: When in the book (in seconds) the chapter starts.
type: integer
type: number
example: 0
end:
description: When in the book (in seconds) the chapter ends.
@ -132,9 +137,14 @@ components:
authors:
type: array
items:
$ref: '../entities/Author.yaml#/components/schemas/author'
$ref: '../entities/Author.yaml#/components/schemas/authorMinified'
narrators:
type: array
items:
type: string
example: Sam Tsoutsouvas
series:
type: array
items:
$ref: '../entities/Series.yaml#/components/schemas/series'
$ref: '../entities/Series.yaml#/components/schemas/seriesSequence'