[Koha-bugs] [Bug 17428] REST api: CRUD endpoint for cities

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 14 17:31:44 CEST 2016


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

--- Comment #24 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 56557
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56557&action=edit
Bug 17428: Followup - More RESTfull handling of endpoints

* PUT should always be full objects, and not partial updates (use PATCH
  for partials)
* Validate query parameters instead of blindly passing them to the model
* Update tests to check for swagger validation errors instead of koha
exceptions

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list