From efbe8bafd388585deaa32393bef270948c3d20d9 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 Signed-off-by: Tomas Cohen Arazi Signed-off-by: Jonathan Druart --- 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 e8ff04e335..f82cd36cbd 100644 --- a/api/v1/swagger/paths/checkouts.yaml +++ b/api/v1/swagger/paths/checkouts.yaml @@ -21,6 +21,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: @@ -61,6 +71,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.35.1