From 6aadc4a42308815803ac77c124ac4e778141e349 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 22 Jul 2024 14:52:29 +0100 Subject: [PATCH] Bug 36480: (follow-up) Add missing library_id parameter The /libraries/{library_id}/desks endpoint was missing the library_id parameter definition from the swagger specification. Signed-off-by: Martin Renvoize --- api/v1/swagger/paths/libraries.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/v1/swagger/paths/libraries.yaml b/api/v1/swagger/paths/libraries.yaml index 2a2685a43d..f7cda2d2e1 100644 --- a/api/v1/swagger/paths/libraries.yaml +++ b/api/v1/swagger/paths/libraries.yaml @@ -318,6 +318,7 @@ - desks summary: List the library's desks parameters: + - $ref: "../swagger.yaml#/parameters/library_id_pp" - $ref: "../swagger.yaml#/parameters/match" - $ref: "../swagger.yaml#/parameters/order_by" - $ref: "../swagger.yaml#/parameters/page" @@ -372,7 +373,7 @@ - application/json responses: 200: - description: A list of desks for the library + description: A list of cash registers for the library schema: type: array items: -- 2.39.5