Fix: library response to be arroy of objects

This commit is contained in:
Nicholas Wallace 2024-06-23 17:25:16 +00:00
parent c1fe824f75
commit daa9ce3042

View file

@ -111,9 +111,12 @@ paths:
content: content:
application/json: application/json:
schema: schema:
type: array type: object
items: properties:
$ref: '../objects/Library.yaml#/components/schemas/library' libraries:
type: array
items:
$ref: '../objects/Library.yaml#/components/schemas/library'
post: post:
operationId: createLibrary operationId: createLibrary
summary: Create a new library on server summary: Create a new library on server