[koha-commits] main Koha release repository branch master updated. v16.05.00-539-g4b140a2

Git repo owner gitmaster at git.koha-community.org
Thu Aug 25 15:50:21 CEST 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, master has been updated
       via  4b140a2e914f76fd283de50fb1c061376e22f444 (commit)
       via  acee02948831d9105e4a7e31a003cf74dfd421be (commit)
       via  1f71fe9eb5cc3de869643f565392a6705cea8c40 (commit)
      from  fa48df281d68fe1d27cc6fb10b41e4504a70afb9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4b140a2e914f76fd283de50fb1c061376e22f444
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date:   Thu Aug 25 12:50:01 2016 +0000

    Bug 16212 - Generate initial swagger.min.json file
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit acee02948831d9105e4a7e31a003cf74dfd421be
Author: Lari Taskula <larit at student.uef.fi>
Date:   Tue Jun 14 16:01:24 2016 +0300

    Bug 16212: Use swagger.min.json insted of swagger.json
    
    Our current approach with splitting the Swagger specification brings problems.
    For example, in swagger.json, if we split the whole "definitions" object with
    $ref, validations will fail with online.swagger.io validator.
    
    (See http://online.swagger.io/validator/debug?url=url_to_your_swagger_json)
    
    The problem also occurs with "paths" (Paths Object), because simply $ref to all
    paths for example in /paths/index.json does not meet the Swagger2 specification.
    
    The problem is solved by using the minification script and the minified version
    of swagger.json after which the swagger.min.json is valid Swagger2 specification,
    because the minifier resolves the problematic $refs of swagger.json file in the
    minified version.
    
    Signed-off-by: Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi>
    
    My name is Olli-Antti Kivilahti and I approve this commit.
    We have been using the Swagger2.0-driven REST API on Mojolicious for 1 year now
    in production and I am certain we have a pretty good idea on how to work with
    the limitations of Swagger2.0
    
    Signed-off-by: Johanna Raisa <johanna.raisa at gmail.com>
    
    My name is Johanna Räisä and I approve this commit.
    We have been using Swagger2.0-driven REST API in production successfully.
    
    Signed-off-by: Benjamin Rokseth <benjamin.rokseth at kul.oslo.kommune.no>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit 1f71fe9eb5cc3de869643f565392a6705cea8c40
Author: Julian Maurice <julian.maurice at biblibre.com>
Date:   Wed Apr 6 13:16:50 2016 +0200

    Bug 16212: Add script minifySwagger.pl
    
    This patch introduces the misc/devel/minifySwagger.pl script that
    loads the Swagger files, follows references and produces a compact
    ("minified") version of the swagger file which is suitable for
    distribution.
    
    The wiki page should be updated with instructions on how to regenerate
    it so the Release Manager does it on each spec upgrade.
    
    Signed-off-by: Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi>
    
    My name is Olli-Antti Kivilahti and I approve this commit.
    We have been using the Swagger2.0-driven REST API on Mojolicious for 1 year now
    in production and I am certain we have a pretty good idea on how to work with
    the limitations of Swagger2.0
    
    Signed-off-by: Johanna Raisa <johanna.raisa at gmail.com>
    
    My name is Johanna Räisä and I approve this commit.
    We have been using Swagger2.0-driven REST API in production successfully.
    
    Signed-off-by: Benjamin Rokseth <benjamin.rokseth at kul.oslo.kommune.no>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

-----------------------------------------------------------------------

Summary of changes:
 Koha/REST/V1.pm             |    2 +-
 api/v1/swagger.min.json     |    1 +
 misc/devel/minifySwagger.pl |   98 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 100 insertions(+), 1 deletion(-)
 create mode 100644 api/v1/swagger.min.json
 create mode 100644 misc/devel/minifySwagger.pl


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list