From a6bd41b0c4042822db126fde10131ddea5e765ba 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 Content-Type: text/plain; charset=utf-8 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 --- 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.30.2