]> git.koha-community.org Git - koha.git/commit
Bug 17003: (follow-up) Update definitions according to voted RFC
authorJosef Moravec <josef.moravec@gmail.com>
Fri, 29 Mar 2019 07:53:27 +0000 (07:53 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 25 Jul 2019 12:12:55 +0000 (14:12 +0200)
commitb19aa25f60c79f728626a9d346c9c70b928eb636
treeedd9a57805e6615cae880fa1ae75b11590744645
parentd83fb48e7ee6f27beaff958dfec388a2df7ff38e
Bug 17003: (follow-up) Update definitions according to voted RFC

Test plan:
1) Have some patrons with checkouts, some renewable and some not
renewable
2) Use your favorite API tester and access GET
http://koha.url/api/v1/checkouts/{checkout_id}/allows_renewal
3) Check the response is OK according to voted RFC:
https://wiki.koha-community.org/wiki/Checkouts_endpoint_RFC#Checkout_renewability_2
4) prove t/db_dependent/api/v1/checkouts.t

Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Johanna Raisa <johanna.raisa@gmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 0619aab9971c7f4d4859620abbac7ad2bfe93364)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/REST/V1/Checkouts.pm
api/v1/swagger/definitions.json
api/v1/swagger/definitions/allows_renewal.json [new file with mode: 0644]
api/v1/swagger/definitions/renewability.json [deleted file]
api/v1/swagger/paths.json
api/v1/swagger/paths/checkouts.json
t/db_dependent/api/v1/checkouts.t