Bugzilla – Attachment 181035 Details for
Bug 37829
Allow additional fields for bookings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37829: API specification changes
Bug-37829-API-specification-changes.patch (text/plain), 2.89 KB, created by
Paul Derscheid
on 2025-04-16 16:30:57 UTC
(
hide
)
Description:
Bug 37829: API specification changes
Filename:
MIME Type:
Creator:
Paul Derscheid
Created:
2025-04-16 16:30:57 UTC
Size:
2.89 KB
patch
obsolete
>From 0ef02d5b2e250070fb9d472c03236f2ac7ff24a3 Mon Sep 17 00:00:00 2001 >From: Paul Derscheid <paul.derscheid@lmscloud.de> >Date: Thu, 10 Apr 2025 15:19:11 +0000 >Subject: [PATCH] Bug 37829: API specification changes > >--- > api/v1/swagger/definitions/booking.yaml | 6 ++++++ > api/v1/swagger/definitions/booking_patch.yaml | 6 ++++++ > api/v1/swagger/paths/biblios.yaml | 1 + > api/v1/swagger/paths/bookings.yaml | 1 + > api/v1/swagger/paths/extended_attribute_types.yaml | 1 + > 5 files changed, 15 insertions(+) > >diff --git a/api/v1/swagger/definitions/booking.yaml b/api/v1/swagger/definitions/booking.yaml >index 0893dfdc24..a9f94b2be6 100644 >--- a/api/v1/swagger/definitions/booking.yaml >+++ b/api/v1/swagger/definitions/booking.yaml >@@ -24,6 +24,12 @@ properties: > description: Start date and time of this booking > format: date-time > type: string >+ extended_attributes: >+ description: Related additional field values >+ type: >+ - array >+ items: >+ $ref: extended_attribute_value.yaml > item_id: > description: Internal item identifier > type: >diff --git a/api/v1/swagger/definitions/booking_patch.yaml b/api/v1/swagger/definitions/booking_patch.yaml >index dee20853e8..bdc8cb659c 100644 >--- a/api/v1/swagger/definitions/booking_patch.yaml >+++ b/api/v1/swagger/definitions/booking_patch.yaml >@@ -22,6 +22,12 @@ properties: > description: Start date and time of this booking > format: date-time > type: string >+ extended_attributes: >+ description: Related additional field values >+ type: >+ - array >+ items: >+ $ref: extended_attribute_value.yaml > item_id: > description: Internal item identifier > type: >diff --git a/api/v1/swagger/paths/biblios.yaml b/api/v1/swagger/paths/biblios.yaml >index 89252ce9f1..3ecf1436ec 100644 >--- a/api/v1/swagger/paths/biblios.yaml >+++ b/api/v1/swagger/paths/biblios.yaml >@@ -319,6 +319,7 @@ > - item > - patron > - pickup_library >+ - extended_attributes > collectionFormat: csv > consumes: > - application/json >diff --git a/api/v1/swagger/paths/bookings.yaml b/api/v1/swagger/paths/bookings.yaml >index 5a5e2d2d4d..c164ea1435 100644 >--- a/api/v1/swagger/paths/bookings.yaml >+++ b/api/v1/swagger/paths/bookings.yaml >@@ -49,6 +49,7 @@ > - item.checkout > - patron > - pickup_library >+ - extended_attributes > collectionFormat: csv > produces: > - application/json >diff --git a/api/v1/swagger/paths/extended_attribute_types.yaml b/api/v1/swagger/paths/extended_attribute_types.yaml >index eba7aec901..8232fc7fb3 100644 >--- a/api/v1/swagger/paths/extended_attribute_types.yaml >+++ b/api/v1/swagger/paths/extended_attribute_types.yaml >@@ -15,6 +15,7 @@ > type: string > enum: > - basket >+ - booking > - credit > - debit > - invoice >-- >2.39.5
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 37829
:
181034
| 181035 |
181036
|
181037
|
181038
|
181039
|
181040
|
181041
|
181042
|
181043