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

Lari Taskula <lari.task...@jns.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #54562|0                           |1
        is obsolete|                            |

--- Comment #11 from Lari Taskula <lari.task...@jns.fi> ---
Created attachment 56248
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56248&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 and minify swagger.json
perl misc/devel/minifySwagger.pl -s api/v1/swagger/swagger.json -d
api/v1/swagger/swagger.min.json
4. Repeat step 1.
5. Observe that numbers / integers are now actually numbers / integers.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to