added to bookBase metadata and added media to LibraryItemBase

This commit is contained in:
unl0ck 2024-11-12 21:25:32 +00:00
parent 2803f49d48
commit efc33fa369
2 changed files with 8 additions and 0 deletions

View file

@ -55,6 +55,12 @@ components:
type: boolean
mediaType:
$ref: './mediaTypes/media.yaml#/components/schemas/mediaType'
media:
type: object
description: The media of the library item.
oneOf:
- $ref: './mediaTypes/Book.yaml#/components/schemas/bookBase'
- $ref: './mediaTypes/Podcast.yaml#/components/schemas/Podcast'
libraryItemMinified:
type: object
description: A single item on the server, like a book or podcast. Minified media format.