Koha-clms/api/v1/swagger
Tomas Cohen Arazi 25317416e6 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>
2022-05-13 15:09:28 -04:00
..
definitions Bug 29620: Move the OpenAPI spec to YAML format 2021-12-10 07:29:02 -05:00
parameters Bug 29620: (follow-up) Rename remaining old-style parameters 2021-12-10 07:29:16 -05:00
paths Bug 30663: Add x-koha-override options to /suggestions 2022-05-13 15:09:28 -04:00
definitions.yaml Bug 29620: Move the OpenAPI spec to YAML format 2021-12-10 07:29:02 -05:00
parameters.yaml Bug 30165: Make q parameter 'multi' 2022-03-25 09:37:06 -04:00
paths.yaml Bug 29620: Move the OpenAPI spec to YAML format 2021-12-10 07:29:02 -05:00
swagger.yaml Bug 29620: Move the OpenAPI spec to YAML format 2021-12-10 07:29:02 -05:00
x-primitives.yaml Bug 29620: Move the OpenAPI spec to YAML format 2021-12-10 07:29:02 -05:00