Koha-clms/api/v1/swagger
Tomas Cohen Arazi 223541bba4 Bug 28369: (QA follow-up) Restore PUT with deprecation message
This patch restores the PUT route, but adding a deprecation message. The
controller method is the same, and relevant patch tests are duplicated
but calling PUT, so it still gets tested.

To test:
1. Apply this patch
2. Reload plack
3. Open https://<>/api/v1/.html and find the PUT /holds/{hold_id} route
=> SUCCESS: There's a deprecation wargning!
4. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/holds.t
=> SUCCESS: Tests pass!
5. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-05-25 09:28:18 +02:00
..
definitions Bug 28370: (follow-up) More cases 2021-05-25 09:28:18 +02:00
parameters Bug 26633: Add REST API for managing transfer limits 2021-03-16 16:08:30 +01:00
paths Bug 28369: (QA follow-up) Restore PUT with deprecation message 2021-05-25 09:28:18 +02:00
definitions.json Bug 23666: Add spec 2021-04-22 14:50:11 +02:00
parameters.json Bug 26633: Add REST API for managing transfer limits 2021-03-16 16:08:30 +01:00
paths.json Bug 27932: Add GET /biblios/:biblio_id/pickup_locations route 2021-04-30 17:19:01 +02:00
swagger.yaml Bug 28189: Fix PluginRoutes.t 2021-05-17 16:07:17 +02:00
x-primitives.json Bug 26633: Add REST API for managing transfer limits 2021-03-16 16:08:30 +01:00