7b8c7b038f
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 lines
223 B
JSON
14 lines
223 B
JSON
{
|
|
"patron": {
|
|
"$ref": "definitions/patron.json"
|
|
},
|
|
"holds": {
|
|
"$ref": "definitions/holds.json"
|
|
},
|
|
"hold": {
|
|
"$ref": "definitions/hold.json"
|
|
},
|
|
"error": {
|
|
"$ref": "definitions/error.json"
|
|
}
|
|
}
|