From f6ffedc81ece358b50b143bc5f78bae297de7b10 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 --- 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 24199736e1f..7a696ae125b 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 4a0b64d77df..bf44b12f23d 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 -- 2.46.0