From fe98ed8e1fbd40b16eef6a31e07a04a3c12d3c33 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 | 3 +++ api/v1/swagger/paths/acquisitions_orders.yaml | 1 + 2 files changed, 4 insertions(+) diff --git a/api/v1/swagger/paths/acquisitions_baskets.yaml b/api/v1/swagger/paths/acquisitions_baskets.yaml index 06f77d6bdc2..dd57893f83d 100644 --- a/api/v1/swagger/paths/acquisitions_baskets.yaml +++ b/api/v1/swagger/paths/acquisitions_baskets.yaml @@ -22,7 +22,10 @@ items: type: string enum: + - basket_group + - creator - late_since_days + - vendor collectionFormat: csv produces: - application/json diff --git a/api/v1/swagger/paths/acquisitions_orders.yaml b/api/v1/swagger/paths/acquisitions_orders.yaml index 85b88ac368d..d97cf491bf9 100644 --- a/api/v1/swagger/paths/acquisitions_orders.yaml +++ b/api/v1/swagger/paths/acquisitions_orders.yaml @@ -205,6 +205,7 @@ - basket.basket_group - basket.creator - basket.late_since_days + - basket.vendor - biblio - biblio.uncancelled_orders+count - biblio.holds+count -- 2.49.0