]> git.koha-community.org Git - koha.git/commit
Bug 17607: Fix patron definition in Swagger
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 10 Nov 2016 13:21:52 +0000 (10:21 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Mon, 14 Nov 2016 11:25:25 +0000 (11:25 +0000)
commit2975c010204cad61d5a2c1982dabfd3b7812e74c
treebfc10ccf4882d4c3edb108a951c230eeb37f3a49
parent0a90892387ec1a69ea9a811cb95e29e2db02979d
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>
Fixed a typo: seed -> seen

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
api/v1/swagger/definitions/patron.json