diff --git a/server/controllers/CollectionController.js b/server/controllers/CollectionController.js index 7f2f32ec7..f37574810 100644 --- a/server/controllers/CollectionController.js +++ b/server/controllers/CollectionController.js @@ -155,7 +155,7 @@ class CollectionController { * schema: * $ref: '#/components/schemas/collectionExpanded' * 403: - * A user with update permissions is required to update collections + * description: A user with update permissions is required to update collections * 404: * description: No collection with the specified ID exists */ @@ -280,12 +280,13 @@ class CollectionController { * type: string * responses: * 200: + * description: OK * content: * application/json: * schema: * $ref: '#/components/schemas/collectionExpanded' * 403: - * A user with update permissions is required to update collections + * description: A user with update permissions is required to update collections * 404: * description: No collection with the specified ID exists * 500: diff --git a/server/controllers/LibraryItemController.js b/server/controllers/LibraryItemController.js index 26edb080b..9f7c8b68a 100644 --- a/server/controllers/LibraryItemController.js +++ b/server/controllers/LibraryItemController.js @@ -30,6 +30,7 @@ class LibraryItemController { * @openapi * /api/items/{id}: * get: + * operationId: getLibraryItem * summary: Get a library item * tags: * - Items diff --git a/server/models/components.js b/server/models/components.js index e934f8475..a9df07c99 100644 --- a/server/models/components.js +++ b/server/models/components.js @@ -2900,11 +2900,11 @@ * example: 2 * homeBookshelfView: * description: Whether the home page should use a skeuomorphic design with wooden shelves. - * type: string + * type: integer * example: 1 * bookshelfView: * description: Whether other bookshelf pages should use a skeuomorphic design with wooden shelves. - * type: string + * type: integer * example: 1 * sortingIgnorePrefix: * description: Whether to ignore prefixes when sorting. For example, for the prefix the, the book title The Book Title would sort as Book Title, The. @@ -3236,4 +3236,4 @@ * description: The total number of segments of the stream. * type: integer * example: 6200 - */ + */