Koha/api/v1/swagger
Tomas Cohen Arazi a554b5a545 Bug 28369: Set additionalProperties: false and fix things
This patch performs a cleanup on the holds routes:
- It adds additionalProperties: false to all missing routes
- It syncs the spec with the guidelines
- additionalProperties: false highlighted some attributes read in the
  controlled weren't declared on the spec, adding them
- PUT /holds/:hold_id is moved to PATCH, as it makes more sense and
  gathered opinions lean towards that

To test:
1. Apply the tests patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/holds.t
=> FAIL: Lots of things are wrong with the API
3. Apply this patch
4. Repeat 2
=> 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: Set additionalProperties: false and fix things 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