Koha/api/v1/swagger
Tomas Cohen Arazi 9374824bc5 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>
2022-05-05 10:26:41 -03:00
..
definitions Bug 22785: (QA follow-up) Remove superflous spec files 2022-05-03 11:19:50 -10:00
paths Bug 30663: Add x-koha-override options to /suggestions 2022-05-05 10:26:41 -03:00
swagger.yaml Bug 22785: Allow option to choose which record match is applied during import 2022-05-03 11:19:50 -10:00