From 8fc71c74b3b5a74708a9ff96e3a2ef7aa99cfe2c 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 --- 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 cddb61c49a..6e82acf9bc 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.20.1