Bug 32923: (follow-up) Fix x-koha-embed from EHoldings/*/*

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2023-03-17 15:07:37 +01:00 committed by Tomas Cohen Arazi
parent 2894003792
commit 70fcbce07f
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
2 changed files with 22 additions and 0 deletions

View File

@ -95,6 +95,18 @@
required: true
type: string
- $ref: "../swagger.yaml#/parameters/eholdings_resource_id_pp"
- name: x-koha-embed
in: header
required: false
description: Embed list sent as a request header
type: array
items:
type: string
enum:
- title
- package
- vendor
collectionFormat: csv
responses:
200:
description: An eHolding resource

View File

@ -144,6 +144,16 @@
name: access_type
required: false
type: string
- name: x-koha-embed
in: header
required: false
description: Embed list sent as a request header
type: array
items:
type: string
enum:
- resources.package
collectionFormat: csv
- $ref: "../swagger.yaml#/parameters/match"
- $ref: "../swagger.yaml#/parameters/order_by"
- $ref: "../swagger.yaml#/parameters/page"