From 676178641ff6a9120938be813ce29de5d524ab24 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 --- 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 90d5c9adf6..9ef6cabebc 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.32.0