From d0b2064a82b182f95ab84f6dac00672f84aa4019 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 6 Jan 2022 13:23:27 +0000 Subject: [PATCH] Bug 29810: Document x-koha-embed header on cash registers endpoints Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi Signed-off-by: Jonathan Druart --- api/v1/swagger/paths/cash_registers.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/api/v1/swagger/paths/cash_registers.yaml b/api/v1/swagger/paths/cash_registers.yaml index 63d433888f1..6022a3ffb63 100644 --- a/api/v1/swagger/paths/cash_registers.yaml +++ b/api/v1/swagger/paths/cash_registers.yaml @@ -17,6 +17,16 @@ - $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: + - manager + collectionFormat: csv responses: "200": description: Cashups performed on this register @@ -57,6 +67,16 @@ summary: Get cashup parameters: - $ref: "../swagger.yaml#/parameters/cashup_id_pp" + - name: x-koha-embed + in: header + required: false + description: Embed list sent as a request header + type: array + items: + type: string + enum: + - summary + collectionFormat: csv produces: - application/json responses: -- 2.25.1