From d33a5b9ca99dc1bf8246c6494c1af68706442b9e 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 --- 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 c90204fdb4..b2be8bf8e1 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: ../parameters.yaml#/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