mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-12 12:21:34 +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:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
oneOf:
|
oneOf:
|
||||||
- $ref: '#/components/requestBody/asin'
|
asin:
|
||||||
- $ref: '#/components/requestBody/authorSearchName'
|
$ref: '#/components/requestBody/asin'
|
||||||
|
q:
|
||||||
|
$ref: '#/components/requestBody/authorSearchName'
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
description: matchAuthorById OK
|
description: matchAuthorById OK
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
allOf:
|
oneOf:
|
||||||
- $ref: '../objects/entities/Author.yaml#/components/schemas/author'
|
- $ref: '../objects/entities/Author.yaml#/components/schemas/author'
|
||||||
- $ref: '#/components/schemas/authorUpdated'
|
- $ref: '#/components/schemas/authorUpdated'
|
||||||
'404':
|
'404':
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue