Bug 18763: Fix swagger/definitions.t

Test plan:
  prove api/v1/swagger/definitions/patron.json
must return green

Signed-off-by: Lee Jamison <ldjamison@marywood.edu>
swagger/definitions.t test returns green

(cherry picked from commit 75a62e9392)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Jonathan Druart 2017-06-08 16:28:41 -03:00 committed by Fridolin Somers
parent a0043ec80d
commit 69771a09af
1 changed files with 12 additions and 0 deletions

View File

@ -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"
}
}
}