From 4a58c309e3120d026f44f7810dba559ed10fae59 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 --- 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 63d433888f..6022a3ffb6 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.35.1