From 9afc411a150ab5bdf9337d73e82b2ac39e851e91 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 25 Apr 2023 12:06:07 +0200 Subject: [PATCH] Bug 34054: Allow to embed biblio on GET /items Test plan: Request the /items REST API endpoint and ask for the biblio's info to be embeded into the response passing x-koha-embed curl -u koha:koha --request GET 'http://localhost:8081/api/v1/items' --header "x-koha-embed: biblio" --header "Content-Type: application/json" Sponsored-by: BULAC - http://www.bulac.fr/ Signed-off-by: Andreas Roussos Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi --- api/v1/swagger/paths/items.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/api/v1/swagger/paths/items.yaml b/api/v1/swagger/paths/items.yaml index f906be23df..aade91c2ea 100644 --- a/api/v1/swagger/paths/items.yaml +++ b/api/v1/swagger/paths/items.yaml @@ -21,6 +21,7 @@ type: string enum: - +strings + - biblio collectionFormat: csv - $ref: "../swagger.yaml#/parameters/match" - $ref: "../swagger.yaml#/parameters/order_by" -- 2.39.5