From 8b1075e9acfd02d7655ab1e04c07a7bdb43751f5 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 c48873fb90..2c33f51f0d 100644 --- a/api/v1/swagger/paths/biblios.yaml +++ b/api/v1/swagger/paths/biblios.yaml @@ -108,6 +108,19 @@ - $ref: ../parameters.yaml#/q_param - $ref: ../parameters.yaml#/q_body - $ref: ../parameters.yaml#/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