From 8d1fdee7c0b9fc28bd6b1ee4c21fb658380b801b Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 6 Jan 2022 13:25:03 +0000 Subject: [PATCH] Bug 29810: Document x-koha-embed header on libraries endpoints --- api/v1/swagger/paths/libraries.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/api/v1/swagger/paths/libraries.yaml b/api/v1/swagger/paths/libraries.yaml index db80d14178..f2659bd1bb 100644 --- a/api/v1/swagger/paths/libraries.yaml +++ b/api/v1/swagger/paths/libraries.yaml @@ -99,6 +99,16 @@ - $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: + - smtp_server + collectionFormat: csv produces: - application/json responses: @@ -183,6 +193,16 @@ summary: Get library parameters: - $ref: ../parameters.yaml#/library_id_pp + - name: x-koha-embed + in: header + required: false + description: Embed list sent as a request header + type: array + items: + type: string + enum: + - smtp_server + collectionFormat: csv produces: - application/json responses: -- 2.20.1