Added some smaller fixes and the getaitem endpoint

This commit is contained in:
Vito0912 2024-07-28 18:24:12 +02:00
parent 3e944974e2
commit 7ae904ccbb
7 changed files with 49 additions and 3 deletions

View file

@ -56,9 +56,7 @@ components:
mediaType:
$ref: './mediaTypes/media.yaml#/components/schemas/mediaType'
media:
oneOf:
- $ref: './mediaTypes/Book.yaml#/components/schemas/bookMinified'
- $ref: './mediaTypes/Podcast.yaml#/components/schemas/Podcast'
$ref: './mediaTypes/Book.yaml#/components/schemas/bookMinified'
libraryItemMinified:
type: object
description: A single item on the server, like a book or podcast. Minified media format.