Bug 29810: Document x-koha-embed header on cash registers endpoints

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Martin Renvoize 2022-01-06 13:23:27 +00:00 committed by Fridolin Somers
parent c90daefb63
commit ccfb7cc240
1 changed files with 20 additions and 0 deletions

View File

@ -18,6 +18,16 @@
- $ref: "../swagger.yaml#/parameters/q_body"
- $ref: "../swagger.yaml#/parameters/q_header"
- $ref: "../swagger.yaml#/parameters/request_id_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
@ -58,6 +68,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: