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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 21 Sep 2021 18:22:57 +0000 (20:22 +0200)
commit4d3d400d7f8516ff3d23792bdcea0ccd9454dfd2
tree76518b75b241796bb1a55e9209fa858505cc56c5
parent5e497a47a218ee7c222c4be02f284353f842113a
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>
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]