Bug 16699: Move Swagger-related files to api/v1/swagger
commit7b8c7b038f4e40b53bcc861a3f265691a2ccb74d
authorLari Taskula <larit@student.uef.fi>
Tue, 14 Jun 2016 14:27:36 +0000 (14 17:27 +0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 26 Aug 2016 12:08:52 +0000 (26 12:08 +0000)
tree4ea5bec35795279fe46cc634875e0798b685990e
parentc523c1e0563a51087d901cbeed0cd93c839fc9cb
Bug 16699: Move Swagger-related files to api/v1/swagger

This patch separates Swagger-specifications and the minifySwagger.pl from other
api-files by moving specifications & minifier into api/v1/swagger.

Signed-off-by: Olli-Antti Kivilahti <olli-antti.kivilahti@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
We participated in the development of the Mojolicious::Plugin::Swagger and know
it well. We have made an extension to the plugin to provide full CORS support
and have been building all our in-house features on the new REST API.

Signed-off-by: Johanna Raisa <johanna.raisa@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@kul.oslo.kommune.no>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
14 files changed:
Koha/REST/V1.pm
api/v1/swagger/definitions.json [moved from api/v1/definitions.json with 100% similarity]
api/v1/swagger/definitions/error.json [moved from api/v1/definitions/error.json with 100% similarity]
api/v1/swagger/definitions/hold.json [moved from api/v1/definitions/hold.json with 100% similarity]
api/v1/swagger/definitions/holds.json [moved from api/v1/definitions/holds.json with 100% similarity]
api/v1/swagger/definitions/patron.json [moved from api/v1/definitions/patron.json with 100% similarity]
api/v1/swagger/parameters.json [moved from api/v1/parameters.json with 100% similarity]
api/v1/swagger/parameters/hold.json [moved from api/v1/parameters/hold.json with 100% similarity]
api/v1/swagger/parameters/patron.json [moved from api/v1/parameters/patron.json with 100% similarity]
api/v1/swagger/paths.json [moved from api/v1/paths.json with 100% similarity]
api/v1/swagger/paths/holds.json [moved from api/v1/paths/holds.json with 100% similarity]
api/v1/swagger/paths/patrons.json [moved from api/v1/paths/patrons.json with 100% similarity]
api/v1/swagger/swagger.json [moved from api/v1/swagger.json with 100% similarity]
api/v1/swagger/x-primitives.json [moved from api/v1/x-primitives.json with 100% similarity]