Update: Minified and booleans in LibraryController

This commit is contained in:
Nicholas Wallace 2024-06-21 21:12:57 +00:00
parent faa31471b4
commit c53f849cbf
2 changed files with 23 additions and 24 deletions

View file

@ -78,10 +78,10 @@ components:
in: query
name: desc
description: Return items in reversed order if true.
example: true
example: 0
schema:
type: boolean
default: false
type: integer
default: 0
responses:
library200:
@ -166,6 +166,7 @@ paths:
name: include
schema:
type: string
- $ref: '../schemas.yaml#/components/parameters/minified'
responses:
'200':
$ref: '#/components/responses/library200'
@ -262,7 +263,6 @@ paths:
example: 'numBooks'
schema:
type: string
enum: ['name', 'numBooks', 'totalDuration', 'addedAt', 'lastBookAdded', 'lastBookUpdated']
default: 'name'
- $ref: '#/components/parameters/desc'
- in: query
@ -386,6 +386,7 @@ paths:
example: 'rssfeed'
schema:
type: string
- $ref: '../schemas.yaml#/components/parameters/minified'
responses:
'200':
description: getLibrarySeries OK