[Koha-bugs] [Bug 13799] Add base for building RESTful API

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 26 13:16:49 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13799

--- Comment #195 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Removing 'type' from the definitions removes validation of the requests and
responses.. that loses 2/3rds of the reason for using swagger with the final
3rd being the documentation of the api which by removing 'types' your also
massively limiting the usefulness of.

If we're not using 'null' as a meaningful value then we should not be using it
at all.  Also, the definitions still do not contain a 'requires' block which
should really be present to show what fields are always required.  For a fully
restful api, this would be all of them for POST, PUT and GET as rest is all
about dealing with full documents.

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


More information about the Koha-bugs mailing list