]> git.koha-community.org Git - koha.git/commit
Bug 17432: Remove minification
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 12 Oct 2016 11:56:44 +0000 (11:56 +0000)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Tue, 11 Oct 2016 06:57:38 +0000 (06:57 +0000)
commita8376f99d9c8afea1c68f44e170100c2d703fcb7
treeb4191a31021c4b8549f3bb463a63ed6ef1352e98
parenta66b0e20d7d1b2602cced006712ce5fc308aeb10
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@hotmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Koha/REST/V1.pm
api/v1/swagger/swagger.min.json [deleted file]
misc/devel/minifySwagger.pl [deleted file]