Update library responses

This commit is contained in:
Nicholas Wallace 2024-05-12 07:13:38 +00:00
parent 2621d04e4b
commit 9f6ef2dea3
2 changed files with 14 additions and 17 deletions

View file

@ -59,7 +59,7 @@ components:
$ref: '../objects/Library.yaml#/components/schemas/librarySettings'
libraryId:
name: id
in: query
in: path
description: The ID of the library.
required: true
schema:
@ -74,6 +74,12 @@ components:
schema:
$ref: '../objects/Library.yaml#/components/schemas/librarySettings'
responses:
library200:
description: Library found.
content:
application/json:
schema:
$ref: '../objects/Library.yaml#/components/schemas/library'
library404:
description: Library not found.
content: