From 7d6ba0a6dafc5bc6dee70f18b2d43651da9cab05 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Fri, 2 May 2025 14:16:04 -0300 Subject: [PATCH] Bug 39816: (follow-up) Harmonize embeds in baskets As I traversed the REST API spec to add the `late_since_days` embed option, I noticed an inconsistency in the embed options we defined in each place a basket is to be returned. This patch makes all the places have the same embed options. --- api/v1/swagger/paths/acquisitions_baskets.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/v1/swagger/paths/acquisitions_baskets.yaml b/api/v1/swagger/paths/acquisitions_baskets.yaml index 06f77d6bdc2..d3fb3e8dcd9 100644 --- a/api/v1/swagger/paths/acquisitions_baskets.yaml +++ b/api/v1/swagger/paths/acquisitions_baskets.yaml @@ -22,6 +22,8 @@ items: type: string enum: + - basket_group + - creator - late_since_days collectionFormat: csv produces: @@ -117,4 +119,4 @@ $ref: "../swagger.yaml#/definitions/error" x-koha-authorization: permissions: - acquisition: order_manage \ No newline at end of file + acquisition: order_manage -- 2.49.0