From d14b44a22bb31b2c051bdf5e5a3d73fd730e90d5 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 13 Apr 2022 17:11:27 -0300 Subject: [PATCH] Bug 29810: Fix patron embed definitions Due to a race and a bad rebase, the patrons embeds added on bug 30063 didn't get copied to the parameters secition, thus breaking embedding. To test: 1. In master, open the patron search page and the inspector 2. Perform a search => FAIL: No results => FAIL: There's an error 500 in the API response, mentioning embedding is not allowed 3. Apply this patch 4. Restart all 6. Repeat 2 => SUCCESS: Results are back! => SUCCESS: No more API errors 7. Sign off :-D Signed-off-by: Tomas Cohen Arazi --- api/v1/swagger/paths/patrons.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/v1/swagger/paths/patrons.yaml b/api/v1/swagger/paths/patrons.yaml index 10538a1c1a..5164cb2858 100644 --- a/api/v1/swagger/paths/patrons.yaml +++ b/api/v1/swagger/paths/patrons.yaml @@ -361,6 +361,9 @@ type: string enum: - extended_attributes + - checkouts+count + - overdues+count + - account_balance collectionFormat: csv responses: "200": -- 2.34.1