Bug 29810: Document x-koha-embed header on checkouts 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:18:41 +00:00 committed by Fridolin Somers
parent ea8e51f776
commit 9558535de4
1 changed files with 20 additions and 0 deletions

View File

@ -21,6 +21,16 @@
description: By default, current checkouts are returned, when this is true then
checked in checkouts are returned as result.
type: boolean
- name: x-koha-embed
in: header
required: false
description: Embed list sent as a request header
type: array
items:
type: string
enum:
- issuer
collectionFormat: csv
produces:
- application/json
responses:
@ -61,6 +71,16 @@
summary: Get checkout
parameters:
- $ref: "../swagger.yaml#/parameters/checkout_id_pp"
- name: x-koha-embed
in: header
required: false
description: Embed list sent as a request header
type: array
items:
type: string
enum:
- issuer
collectionFormat: csv
produces:
- application/json
responses: