Bugzilla – Attachment 57433 Details for
Bug 17607
Fix patron definition in Swagger
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF]Bug 17607: Fix patron definition in Swagger
Bug-17607-Fix-patron-definition-in-Swagger.patch (text/plain), 1.35 KB, created by
Lari Taskula
on 2016-11-10 17:08:47 UTC
(
hide
)
Description:
[SIGNED-OFF]Bug 17607: Fix patron definition in Swagger
Filename:
MIME Type:
Creator:
Lari Taskula
Created:
2016-11-10 17:08:47 UTC
Size:
1.35 KB
patch
obsolete
>From b4b042962ff96df2a45ffd60f60c383742bdf874 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Thu, 10 Nov 2016 10:21:52 -0300 >Subject: [PATCH] Bug 17607: Fix patron definition in Swagger > >This patch makes the patron swagger definition match the DB schema. >To test: >- Run: > $ prove t/db_dependent/api/v1/swagger/definitions.t >=> FAIL: 'lastseen' field is not declared in the swagger definition >- Apply the patch >- Run: > $ prove t/db_dependent/api/v1/swagger/definitions.t >=> SUCCESS: Tests pass! >- Sigh off :-D > >Sponsored-by: ByWater Solutions >Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com> >All tests pass successfuly > >Signed-off-by: Lari Taskula <lari.taskula@jns.fi> >--- > api/v1/swagger/definitions/patron.json | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/api/v1/swagger/definitions/patron.json b/api/v1/swagger/definitions/patron.json >index a021502..0ca9288 100644 >--- a/api/v1/swagger/definitions/patron.json >+++ b/api/v1/swagger/definitions/patron.json >@@ -269,6 +269,10 @@ > "updated_on": { > "type": "string", > "description": "time of last change could be useful for synchronization with external systems (among others)" >+ }, >+ "lastseen": { >+ "type": ["string", "null"], >+ "description": "last time a patron has been seed (connected at the OPAC or staff interface)" > } > } > } >-- >1.9.1
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 17607
:
57423
|
57432
|
57433
|
57435
|
57467