From 7fa33842f36a0d9779151c41f7637081b2333ca9 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 3 Nov 2021 13:47:35 +0000 Subject: [PATCH] Bug 29405: Fix date_renewed attribute format in patron spec This patch just adds the 'date' format string to ensure we are validating the input/output of the date_renewed field correctly. Signed-off-by: David Nind Signed-off-by: Tomas Cohen Arazi Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall (cherry picked from commit e165f57f248fbb5166834d5117caef4fddf3c3e3) Signed-off-by: Fridolin Somers --- api/v1/swagger/definitions/patron.json | 1 + 1 file changed, 1 insertion(+) diff --git a/api/v1/swagger/definitions/patron.json b/api/v1/swagger/definitions/patron.json index 60488f5a4b..b761f49d58 100644 --- a/api/v1/swagger/definitions/patron.json +++ b/api/v1/swagger/definitions/patron.json @@ -144,6 +144,7 @@ }, "date_renewed": { "type": ["string", "null"], + "format": "date", "description": "date the patron's card was last renewed" }, "incorrect_address": { -- 2.39.5