Bug 18137: Make /cities Mojolicious::Plugin::OpenAPI compatible
commitb007919e35c7588b0d95c5257b5334e26a38300b
authorLari Taskula <lari.taskula@jns.fi>
Mon, 20 Feb 2017 17:58:28 +0000 (20 19:58 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 21 Sep 2017 14:27:05 +0000 (21 11:27 -0300)
treeb339912030c6836e63694b6de37f2a1ea950b960
parent915963ba7f1580f8d7aaa0b5563c974b7254874a
Bug 18137: Make /cities Mojolicious::Plugin::OpenAPI compatible

Also:
- adding some missing and new response definitions into Swagger spec.

To test:
1. prove t/db_dependent/api/v1/cities.t

Signed-off-by: Olli-Antti Kivilahti <olli-antti.kivilahti@jns.fi>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/REST/V1/Cities.pm
api/v1/swagger/paths/cities.json
t/db_dependent/api/v1/cities.t