From 3e6bb222a68a306ed8516f75c3059cad63ef3c8f Mon Sep 17 00:00:00 2001 From: Paul Derscheid Date: Mon, 18 Aug 2025 15:42:12 +0000 Subject: [PATCH] Bug 40665: API spec changes --- 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.39.5