From 3b8582f892efdc3cf1ba8dcbf3db62b444bd5b00 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 6 Jan 2022 13:18:41 +0000 Subject: [PATCH] Bug 29810: Document x-koha-embed header on checkouts endpoints Signed-off-by: Martin Renvoize --- api/v1/swagger/paths/checkouts.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/api/v1/swagger/paths/checkouts.yaml b/api/v1/swagger/paths/checkouts.yaml index 4bd9221826..b61c4ce6b8 100644 --- a/api/v1/swagger/paths/checkouts.yaml +++ b/api/v1/swagger/paths/checkouts.yaml @@ -20,6 +20,16 @@ description: By default, current checkouts are returned, when this is true then checked in checkouts are returned as result. type: boolean + - name: x-koha-embed + in: header + required: false + description: Embed list sent as a request header + type: array + items: + type: string + enum: + - issuer + collectionFormat: csv produces: - application/json responses: @@ -60,6 +70,16 @@ summary: Get checkout parameters: - $ref: "../swagger.yaml#/parameters/checkout_id_pp" + - name: x-koha-embed + in: header + required: false + description: Embed list sent as a request header + type: array + items: + type: string + enum: + - issuer + collectionFormat: csv produces: - application/json responses: -- 2.20.1