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:
application/json:
schema:
type: array
items:
$ref: '../objects/Library.yaml#/components/schemas/library'
type: object
properties:
libraries:
type: array
items:
$ref: '../objects/Library.yaml#/components/schemas/library'
post:
operationId: createLibrary
summary: Create a new library on server