Simplify author schema with items

This commit is contained in:
Nicholas Wallace 2024-05-14 04:01:44 +00:00
parent 8c2073c10a
commit bda3e625f6
2 changed files with 13 additions and 29 deletions

View file

@ -158,10 +158,7 @@ paths:
content:
application/json:
schema:
oneOf:
- $ref: '../objects/entities/Author.yaml#/components/schemas/author'
- $ref: '../objects/entities/Author.yaml#/components/schemas/authorWithItems'
- $ref: '../objects/entities/Author.yaml#/components/schemas/authorWithSeries'
$ref: '../objects/entities/Author.yaml#/components/schemas/author'
'404':
$ref: '#/components/responses/author404'
patch: