[Koha-bugs] [Bug 16212] Swagger specification separation and minification

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 17 10:35:29 CEST 2016


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

--- Comment #6 from Lari Taskula <larit at student.uef.fi> ---
The minification is problematic at the moment, because it has to be executed
manually. It could be assigned to execute automatically at
Koha::REST::V1->startup(), but since this is executed on each request to the
REST API, there will be a lot of useless computation. A dirty trick would be to
make a copy of swagger.json and compare it to the actual swagger.json in
startup(), and run swaggerMinifier.pl in case the two specification files are
different, and finally replacing the copy with actual swagger.json.

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


More information about the Koha-bugs mailing list