Koha/api/v1/swagger
Tomas Cohen Arazi 832e6196c5 Bug 27931: Add GET /items/:item_id/pickup_locations
This patch adds the mentioned route. It does so by:
- Adding the new path in paths.json
- Adding the full route spec in items.json
- Adds a controller method that takes care of the task

To test:
1. Apply this patches
2. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/items.t
=> SUCCESS: Tests pass!
3. Play with your favourite REST tool. Pay special care to
   the AllowHoldPolicyOverride syspref and the expected behaviors.
=> SUCCESS: All works as expected
4. Sign off :-D

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>
2021-06-18 08:44:45 -04:00
..
definitions Bug 28370: (follow-up) More cases 2021-05-25 09:28:18 +02:00
parameters
paths Bug 27931: Add GET /items/:item_id/pickup_locations 2021-06-18 08:44:45 -04:00
definitions.json Bug 23666: Add spec 2021-04-22 14:50:11 +02:00
parameters.json
paths.json Bug 27931: Add GET /items/:item_id/pickup_locations 2021-06-18 08:44:45 -04:00
swagger.yaml Bug 28463: Add missing tags 2021-05-27 17:17:19 +02:00
x-primitives.json