Koha-clms/api/v1/swagger
Tomas Cohen Arazi b1404ce298 Bug 30663: Add x-koha-override options to /suggestions
This patch adds the x-koha-override header parameter to the route that
is used to create suggestions, POST /suggestions.

The idea is that adding suggestions will be rejected under certain
conditions unless x-koha-override is passed with appropriate values. The
added overrides are:

* any
* max_total
* max_pending

Tests are added for the expected behavior.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 25317416e6)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2022-06-25 04:48:54 +02:00
..
definitions Bug 29405: Fix date_renewed attribute format in patron spec 2021-11-19 11:38:21 -05:00
parameters Bug 17314: OpenAPI spec 2021-11-02 08:42:22 -04:00
paths Bug 30663: Add x-koha-override options to /suggestions 2022-06-25 04:48:54 +02:00
definitions.json Bug 17314: OpenAPI spec 2021-11-02 08:42:22 -04:00
parameters.json Bug 17314: OpenAPI spec 2021-11-02 08:42:22 -04:00
paths.json Bug 17314: OpenAPI spec 2021-11-02 08:42:22 -04:00
swagger.yaml Bug 17314: OpenAPI spec 2021-11-02 08:42:22 -04:00
x-primitives.json Bug 26633: Add REST API for managing transfer limits 2021-03-16 16:08:30 +01:00