Bug 29072: Move reference route /cities spec to YAML
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 21 Sep 2021 12:52:19 +0000 (09:52 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 1 Oct 2021 18:26:59 +0000 (14:26 -0400)
commitcdc623dbf46cad6d768a0f27990200dc6414878a
treebac7445a1f61dc2e40b81ce9bef521caa17571ab
parent7b1dc9d5f977aeb606cd2f766f3c3b8043d7a3f6
Bug 29072: Move reference route /cities spec to YAML

This patch moves the /cities routes spec and related files into YAML so
devs can use it as a reference for future routes.

To test:
1. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/cities.t
=> SUCCESS: Tests pass
2. Apply this patch
3. Repeat 1
=> SUCCESS: Tests still pass!
4. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
api/v1/swagger/definitions.json
api/v1/swagger/definitions/city.json [deleted file]
api/v1/swagger/definitions/city.yaml [new file with mode: 0644]
api/v1/swagger/paths.json
api/v1/swagger/paths/cities.json [deleted file]
api/v1/swagger/paths/cities.yaml [new file with mode: 0644]