[Koha-bugs] [Bug 17432] Remove requirement to minify swagger.json

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 12 14:47:16 CEST 2016


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

--- Comment #6 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 56268
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56268&action=edit
Bug 17432: Remove minification

The swagger specification file is currently being minified adding
manual steps to release management and restful api route development.
The minification is not required; The deferenced version of the
specification is now internally validated at runtime and relavant errors
output and the dereferenced schema has been made publically available at
/api/v1/spec, so it can be copy&pasted into validation tools

Test Plan
1) Apply patch
2) Ensure api routes still function (applying the /cities patch might be
    helpful)
3) Ensure /api/v1/spec page exists (it should be the de-referenced
    swagger.json file)

Signed-off-by: Claire Gravely <claire_gravely at hotmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list