Bugzilla – Attachment 185897 Details for
Bug 40665
Add booking_id field to issues to link checkouts to bookings that were fulfilled by them
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40665: API spec changes
Bug-40665-API-spec-changes.patch (text/plain), 2.14 KB, created by
Martin Renvoize (ashimema)
on 2025-08-29 10:32:18 UTC
(
hide
)
Description:
Bug 40665: API spec changes
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2025-08-29 10:32:18 UTC
Size:
2.14 KB
patch
obsolete
>From 396845bcd3a796c08cf00fb94bd7fab9ea39fb31 Mon Sep 17 00:00:00 2001 >From: Paul Derscheid <paul.derscheid@lmscloud.de> >Date: Mon, 18 Aug 2025 15:42:12 +0000 >Subject: [PATCH] Bug 40665: API spec changes > >Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> >--- > api/v1/swagger/definitions/checkout.yaml | 10 ++++++++++ > api/v1/swagger/paths/checkouts.yaml | 2 ++ > api/v1/swagger/paths/patrons_checkouts.yaml | 1 + > 3 files changed, 13 insertions(+) > >diff --git a/api/v1/swagger/definitions/checkout.yaml b/api/v1/swagger/definitions/checkout.yaml >index 15211a1d854..0879ddc5158 100644 >--- a/api/v1/swagger/definitions/checkout.yaml >+++ b/api/v1/swagger/definitions/checkout.yaml >@@ -11,6 +11,11 @@ properties: > type: > - integer > - "null" >+ booking_id: >+ type: >+ - integer >+ - "null" >+ description: Internal booking identifier that this checkout fulfills > external_id: > type: > - string >@@ -111,4 +116,9 @@ properties: > - object > - "null" > description: The object representing the checkout patron >+ booking: >+ type: >+ - object >+ - "null" >+ description: The object representing the linked booking > additionalProperties: false >diff --git a/api/v1/swagger/paths/checkouts.yaml b/api/v1/swagger/paths/checkouts.yaml >index 9f464eef671..24339160720 100644 >--- a/api/v1/swagger/paths/checkouts.yaml >+++ b/api/v1/swagger/paths/checkouts.yaml >@@ -28,6 +28,7 @@ > items: > type: string > enum: >+ - booking > - issuer > - item > - item.biblio >@@ -151,6 +152,7 @@ > items: > type: string > enum: >+ - booking > - issuer > - item > - item.biblio >diff --git a/api/v1/swagger/paths/patrons_checkouts.yaml b/api/v1/swagger/paths/patrons_checkouts.yaml >index 719ee4baccb..04122240ffc 100644 >--- a/api/v1/swagger/paths/patrons_checkouts.yaml >+++ b/api/v1/swagger/paths/patrons_checkouts.yaml >@@ -23,6 +23,7 @@ > items: > type: string > enum: >+ - booking > - issuer > - item > - item.biblio >-- >2.51.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 40665
:
185516
|
185517
|
185518
|
185519
|
185520
|
185895
|
185896
| 185897 |
185898
|
185899
|
186250
|
186369
|
187589