Fix: match post operation

This commit is contained in:
Nicholas Wallace 2024-05-17 04:37:59 +00:00
parent 88ef453b56
commit 771895de68

View file

@ -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':