[Koha-bugs] [Bug 17008] REST API: Correct data types in Swagger
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Aug 18 13:28:25 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17008
Lari Taskula <larit at student.uef.fi> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #54510|0 |1
is obsolete| |
--- Comment #7 from Lari Taskula <larit at student.uef.fi> ---
Created attachment 54562
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=54562&action=edit
Bug 17008: Fix current 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.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list