From 1db498d018715004750d139b32faff2b99feab4a Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 3 Nov 2021 13:47:35 +0000 Subject: [PATCH] Bug 29405: Fix 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 --- 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.20.1