Koha/api/v1/swagger
Tomas Cohen Arazi dfbadc70d4 Bug 20004: Adapt /v1/cities to new naming guidelines
This patch implements the changes required by the cities endpoint RFC
[1].

It uses the objects.search helper, and relies on bug 19686.

To test:
- Apply the patches
- Compare the spec with the RFC (api/v1/swagger/definitions/city.json)
=> SUCCESS: It makes sense
- Run:
  $ kshell
 k$ prove t/db_dependent/api/v1/cities.t
=> Tests pass!
- Sign off :-D

Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2018-02-16 17:53:42 -03:00
..
definitions Bug 20004: Adapt /v1/cities to new naming guidelines 2018-02-16 17:53:42 -03:00
parameters Bug 20004: Adapt /v1/cities to new naming guidelines 2018-02-16 17:53:42 -03:00
paths Bug 20004: Adapt /v1/cities to new naming guidelines 2018-02-16 17:53:42 -03:00
definitions.json Bug 18120: Add '/acquisitions/vendors' endpoint 2017-09-29 17:13:13 -03:00
parameters.json Bug 20004: Adapt /v1/cities to new naming guidelines 2018-02-16 17:53:42 -03:00
paths.json Bug 20004: Adapt /v1/cities to new naming guidelines 2018-02-16 17:53:42 -03:00
swagger.json Bug 18137: Remove x-mojo-around-action 2017-09-21 11:27:05 -03:00
x-primitives.json Bug 20004: Adapt /v1/cities to new naming guidelines 2018-02-16 17:53:42 -03:00