[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
Tue Aug 16 15:42:21 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17008

--- Comment #3 from Lari Taskula <larit at student.uef.fi> ---
Created attachment 54508
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=54508&action=edit
Bug 17008: Add "swaggerize" for Koha::Object and Koha::Objects

This patch adds new subroutine "swaggerize" for Koha::Object and Koha::Objects.

By matching column data types with corresponding Swagger data type, we can e.g.
numify values in order to be able to return borrowernumber:123 instead of
borrowernumber:"123".

-- 
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