Bugzilla – Attachment 127445 Details for
Bug 29405
The patron spec for date_renewed is missing it's format definition
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29405: Fix date_renewed attribute format in patron spec
Bug-29405-Fix-daterenewed-attribute-format-in-patr.patch (text/plain), 997 bytes, created by
Tomás Cohen Arazi (tcohen)
on 2021-11-08 12:15:23 UTC
(
hide
)
Description:
Bug 29405: Fix date_renewed attribute format in patron spec
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2021-11-08 12:15:23 UTC
Size:
997 bytes
patch
obsolete
>From 676178641ff6a9120938be813ce29de5d524ab24 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >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 <david@davidnind.com> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 29405
:
127260
|
127417
| 127445