From aa886d0f8d2a2ccb830af63d6f11fb3679966d61 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 2 Sep 2024 11:55:59 -0300 Subject: [PATCH] Bug 37809: Add more embed options to checkouts endpoints This patch adds more embed options to checkouts endpoints. To test you really need to try them on a REST tool. * patron * item * library Signed-off-by: Tomas Cohen Arazi Signed-off-by: Martin Renvoize --- api/v1/swagger/paths/checkouts.yaml | 6 ++++++ api/v1/swagger/paths/patrons_checkouts.yaml | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/api/v1/swagger/paths/checkouts.yaml b/api/v1/swagger/paths/checkouts.yaml index 6afadce078..fe04186388 100644 --- a/api/v1/swagger/paths/checkouts.yaml +++ b/api/v1/swagger/paths/checkouts.yaml @@ -29,6 +29,9 @@ type: string enum: - issuer + - item + - library + - patron - renewals collectionFormat: csv produces: @@ -148,6 +151,9 @@ type: string enum: - issuer + - item + - library + - patron - renewals collectionFormat: csv produces: diff --git a/api/v1/swagger/paths/patrons_checkouts.yaml b/api/v1/swagger/paths/patrons_checkouts.yaml index 4a0b64d77d..bf44b12f23 100644 --- a/api/v1/swagger/paths/patrons_checkouts.yaml +++ b/api/v1/swagger/paths/patrons_checkouts.yaml @@ -24,6 +24,11 @@ type: string enum: - cancellation_requested + - issuer + - item + - library + - patron + - renewals collectionFormat: csv produces: - application/json