diff --git a/docs/controllers/AuthorController.yaml b/docs/controllers/AuthorController.yaml index c946a97f4..feeed93b7 100644 --- a/docs/controllers/AuthorController.yaml +++ b/docs/controllers/AuthorController.yaml @@ -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':