Koha-clms/api/v1/swagger/paths
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
..
acquisitions_funds.yaml Bug 29620: Move the OpenAPI spec to YAML format 2021-12-10 07:29:02 -05:00
acquisitions_orders.yaml Bug 29620: Move the OpenAPI spec to YAML format 2021-12-10 07:29:02 -05:00
acquisitions_vendors.yaml Bug 29620: (follow-up) Rename remaining old-style parameters 2021-12-10 07:29:16 -05:00
advancededitormacros.yaml Bug 29620: Move the OpenAPI spec to YAML format 2021-12-10 07:29:02 -05:00
article_requests.yaml Bug 29620: Move the OpenAPI spec to YAML format 2021-12-10 07:29:02 -05:00
biblios.yaml Bug 29620: Move the OpenAPI spec to YAML format 2021-12-10 07:29:02 -05:00
cash_registers.yaml Bug 29620: Move the OpenAPI spec to YAML format 2021-12-10 07:29:02 -05:00
checkouts.yaml Bug 29620: Move the OpenAPI spec to YAML format 2021-12-10 07:29:02 -05:00
circulation-rules.yaml Bug 29620: Move the OpenAPI spec to YAML format 2021-12-10 07:29:02 -05:00
cities.yaml Bug 29620: Move the OpenAPI spec to YAML format 2021-12-10 07:29:02 -05:00
clubs.yaml Bug 29620: Move the OpenAPI spec to YAML format 2021-12-10 07:29:02 -05:00
config_smtp_servers.yaml Bug 29620: Move the OpenAPI spec to YAML format 2021-12-10 07:29:02 -05:00
holds.yaml Bug 29620: Move the OpenAPI spec to YAML format 2021-12-10 07:29:02 -05:00
ill_backends.yaml Bug 29620: Move the OpenAPI spec to YAML format 2021-12-10 07:29:02 -05:00
illrequests.yaml Bug 29620: Move the OpenAPI spec to YAML format 2021-12-10 07:29:02 -05:00
import_batch_profiles.yaml Bug 29620: Move the OpenAPI spec to YAML format 2021-12-10 07:29:02 -05:00
items.yaml Bug 29620: Move the OpenAPI spec to YAML format 2021-12-10 07:29:02 -05:00
libraries.yaml Bug 29620: Move the OpenAPI spec to YAML format 2021-12-10 07:29:02 -05:00
oauth.yaml Bug 29620: Move the OpenAPI spec to YAML format 2021-12-10 07:29:02 -05:00
patrons.yaml Bug 30534: Remove guarantor_id attribute from the patron object 2022-05-06 10:58:45 -04:00
patrons_account.yaml Bug 29620: Move the OpenAPI spec to YAML format 2021-12-10 07:29:02 -05:00
patrons_extended_attributes.yaml Bug 29620: Move the OpenAPI spec to YAML format 2021-12-10 07:29:02 -05:00
patrons_holds.yaml Bug 29620: Move the OpenAPI spec to YAML format 2021-12-10 07:29:02 -05:00
patrons_password.yaml Bug 29620: Move the OpenAPI spec to YAML format 2021-12-10 07:29:02 -05:00
public_patrons.yaml Bug 29620: Move the OpenAPI spec to YAML format 2021-12-10 07:29:02 -05:00
quotes.yaml Bug 29620: Move the OpenAPI spec to YAML format 2021-12-10 07:29:02 -05:00
return_claims.yaml Bug 29620: Move the OpenAPI spec to YAML format 2021-12-10 07:29:02 -05:00
rotas.yaml Bug 29620: Move the OpenAPI spec to YAML format 2021-12-10 07:29:02 -05:00
suggestions.yaml Bug 30663: Add x-koha-override options to /suggestions 2022-05-13 15:09:28 -04:00
transfer_limits.yaml Bug 29620: Move the OpenAPI spec to YAML format 2021-12-10 07:29:02 -05:00