Koha/api/v1/swagger
Tomas Cohen Arazi 0bb0b6c7b4
Bug 25048: Make successful resource deletion return 204
This patch adapts the spec and the controllers so existing routes return
204 and an empty response body when a successful deletion happens.

Right now we have a coding guideline but haven't adapted the existing
routes.

To test:
1. Apply the regression tests patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/*.t
=> FAIL: Some tests fail
3. Apply this patch
4. Repeat 2.
=> SUCCESS: Tests pass!
5. Sign off :-D

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-04-29 16:24:43 +01:00
..
definitions Bug 24476: Rename autorenewal to autorenew_checkouts 2020-03-24 11:23:54 +00:00
parameters
paths Bug 25048: Make successful resource deletion return 204 2020-04-29 16:24:43 +01:00
definitions.json Bug 22615: Add endpoint for getting one ill backend 2020-03-05 13:03:40 +00:00
parameters.json Bug 24502: (follow-up) Add all 3 query parameters in api definition 2020-03-03 09:17:04 +00:00
paths.json Bug 24909: Route spec 2020-04-27 11:15:10 +01:00
swagger.json
x-primitives.json Bug 22522: Fix several REST API tests 2020-02-25 13:44:22 +00:00