From 1ddf8f37efa7d83702c7f239cd4ede42185867d1 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 2 Sep 2024 11:56:58 -0300 Subject: [PATCH] Bug 37809: (follow-up) Add wrong embed It seems to me like a copy and paste error coming from the holds endpoint. To test: 1. Use a REST API tool like Postman to ask for some patron's checkouts 2. Add x-koha-emebed: cancellation_requested => FAIL: It explodes, cannot embed it 3. Apply this patch 4. Repeat 2 => SUCCESS: cancellation_requested no longer a valid option 5. Sign off :-D Signed-off-by: Tomas Cohen Arazi --- api/v1/swagger/paths/patrons_checkouts.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/api/v1/swagger/paths/patrons_checkouts.yaml b/api/v1/swagger/paths/patrons_checkouts.yaml index bf44b12f23d..9b897a86478 100644 --- a/api/v1/swagger/paths/patrons_checkouts.yaml +++ b/api/v1/swagger/paths/patrons_checkouts.yaml @@ -23,7 +23,6 @@ items: type: string enum: - - cancellation_requested - issuer - item - library -- 2.46.0