mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-12 20:31:36 +00:00
Fix: match post operation
This commit is contained in:
parent
88ef453b56
commit
771895de68
1 changed files with 5 additions and 3 deletions
|
|
@ -350,15 +350,17 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
oneOf:
|
||||
- $ref: '#/components/requestBody/asin'
|
||||
- $ref: '#/components/requestBody/authorSearchName'
|
||||
asin:
|
||||
$ref: '#/components/requestBody/asin'
|
||||
q:
|
||||
$ref: '#/components/requestBody/authorSearchName'
|
||||
responses:
|
||||
'200':
|
||||
description: matchAuthorById OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
allOf:
|
||||
oneOf:
|
||||
- $ref: '../objects/entities/Author.yaml#/components/schemas/author'
|
||||
- $ref: '#/components/schemas/authorUpdated'
|
||||
'404':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue