From 1f6ca3904a2b5ef370b0a77b35dfbf08ef4de46f Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 6 Jan 2022 13:21:13 +0000 Subject: [PATCH] Bug 29810: Document x-koha-embed header on biblios endpoints Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi Signed-off-by: Jonathan Druart --- api/v1/swagger/paths/biblios.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/api/v1/swagger/paths/biblios.yaml b/api/v1/swagger/paths/biblios.yaml index cddb61c49a4..6e82acf9bce 100644 --- a/api/v1/swagger/paths/biblios.yaml +++ b/api/v1/swagger/paths/biblios.yaml @@ -108,6 +108,19 @@ - $ref: "../swagger.yaml#/parameters/q_param" - $ref: "../swagger.yaml#/parameters/q_body" - $ref: "../swagger.yaml#/parameters/q_header" + - name: x-koha-embed + in: header + required: false + description: Embed list sent as a request header + type: array + items: + type: string + enum: + - issuer + - item + - patron + - library + collectionFormat: csv - name: checked_in in: query description: By default, current checkouts are returned, when this is true then -- 2.25.1