From 1347d92adf6bd69bd01248a227f9b423c4b2bf00 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 --- 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 f9aa9301d1..f75361bc8a 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