Bugzilla – Attachment 181880 Details for
Bug 39816
Allow embedding `late_since_days`in baskets
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39816: (follow-up) Harmonize embeds in baskets
Bug-39816-follow-up-Harmonize-embeds-in-baskets.patch (text/plain), 1.59 KB, created by
Tomás Cohen Arazi (tcohen)
on 2025-05-02 17:20:33 UTC
(
hide
)
Description:
Bug 39816: (follow-up) Harmonize embeds in baskets
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2025-05-02 17:20:33 UTC
Size:
1.59 KB
patch
obsolete
>From fe98ed8e1fbd40b16eef6a31e07a04a3c12d3c33 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 39816
:
181879
|
181880
|
181881
|
181882
|
182069
|
182070