From 2d06d3021bd8e6fd110d9b9533dc66ead3d338bc Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 8 Jun 2017 16:28:41 -0300 Subject: [PATCH] Bug 18763: Fix swagger/definitions.t tests Test plan: prove api/v1/swagger/definitions/patron.json must return green --- api/v1/swagger/definitions/patron.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/api/v1/swagger/definitions/patron.json b/api/v1/swagger/definitions/patron.json index d14666e..ebcf696 100644 --- a/api/v1/swagger/definitions/patron.json +++ b/api/v1/swagger/definitions/patron.json @@ -274,6 +274,18 @@ "lastseen": { "type": ["string", "null"], "description": "last time a patron has been seen (connected at the OPAC or staff interface)" + }, + "lang": { + "type": ["string", "null"], + "description": "lang to use to send notices to this patron" + }, + "login_attempts": { + "type": ["integer", "null"], + "description": "number of failed login attemps" + }, + "overdrive_auth_token": { + "type": ["string", "null"], + "description": "persist OverDrive auth token" } } } -- 2.1.4