mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-12 12:21:34 +00:00
Fix: oneOf and array issues
This commit is contained in:
parent
1068a68c23
commit
f32ef3d01c
2 changed files with 12 additions and 6 deletions
|
|
@ -273,9 +273,12 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
oneOf:
|
||||
- $ref: '../objects/entities/Author.yaml#/components/schemas/authorAsin'
|
||||
- $ref: '#/components/schemas/authorSearchName'
|
||||
type: object
|
||||
properties:
|
||||
q:
|
||||
$ref: '#/components/schemas/authorSearchName'
|
||||
asin:
|
||||
$ref: '../objects/entities/Author.yaml#/components/schemas/authorAsin'
|
||||
responses:
|
||||
'200':
|
||||
description: matchAuthorById OK
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue