[Koha-bugs] [Bug 17927] REST API: /holds and /patrons attributes have wrong types
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jan 20 19:52:25 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17927
--- Comment #2 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 59386
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=59386&action=edit
Bug 17927: Fix /holds and /patrons data types
This patch changes current Swagger definitions for patrons and holds to have
data types corresponding to column data types in their database tables.
To test:
1. GET http://yourlibrary/api/v1/patrons/YYY where YYY is existing
borrowernumber
2. Observe that numbers / integers are in string data type.
3. Apply this patch
4. Repeat step 1.
5. Observe that numbers / integers are now actually numbers / integers.
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list