Koha/api/v1/swagger/paths
Tomas Cohen Arazi b25f6f1c30 Bug 30394: Add x-koha-request-id support on API routes
This patch adds the x-koha-request-id to all GET routes that rely on
objects.search, for immediate support for the header.

The patch itself is trivial:
- It adds the header parameter definition to the top level swagger.yaml
- It adds a reference on each route that already implements q params,
  etc

To test:
1. Apply the patch
2. Reload plack
3. Notice the API still works
4. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/query.t
=> SUCCESS: It now passes! The /cities route implements the
x-koha-request-id header pass through.
5. Run the rest of the API tests
=> SUCCESS: All good
6. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-04 16:23:46 +02:00
..
acquisitions_baskets.yaml Bug 30055: Add missing x-koha-embed for /acquisitions/baskets/managers 2022-04-04 09:47:00 +02:00
acquisitions_funds.yaml Bug 30394: Add x-koha-request-id support on API routes 2022-04-04 16:23:46 +02:00
acquisitions_orders.yaml Bug 30394: Add x-koha-request-id support on API routes 2022-04-04 16:23:46 +02:00
acquisitions_vendors.yaml Bug 30394: Add x-koha-request-id support on API routes 2022-04-04 16:23:46 +02:00
advancededitormacros.yaml Bug 30394: Add x-koha-request-id support on API routes 2022-04-04 16:23:46 +02:00
article_requests.yaml Bug 30194: (follow-up) Simply OpenAPI Specification 2022-03-29 16:44:31 +02:00
biblios.yaml Bug 30394: Add x-koha-request-id support on API routes 2022-04-04 16:23:46 +02:00
cash_registers.yaml Bug 30394: Add x-koha-request-id support on API routes 2022-04-04 16:23:46 +02:00
checkouts.yaml Bug 30394: Add x-koha-request-id support on API routes 2022-04-04 16:23:46 +02:00
circulation-rules.yaml Bug 30194: (follow-up) Simply OpenAPI Specification 2022-03-29 16:44:31 +02:00
cities.yaml Bug 30394: Add x-koha-request-id support on API routes 2022-04-04 16:23:46 +02:00
clubs.yaml Bug 30194: (follow-up) Simply OpenAPI Specification 2022-03-29 16:44:31 +02:00
config_smtp_servers.yaml Bug 30394: Add x-koha-request-id support on API routes 2022-04-04 16:23:46 +02:00
holds.yaml Bug 30394: Add x-koha-request-id support on API routes 2022-04-04 16:23:46 +02:00
ill_backends.yaml Bug 30194: (follow-up) Simply OpenAPI Specification 2022-03-29 16:44:31 +02:00
illrequests.yaml Bug 30194: (follow-up) Simply OpenAPI Specification 2022-03-29 16:44:31 +02:00
import_batch_profiles.yaml Bug 30394: Add x-koha-request-id support on API routes 2022-04-04 16:23:46 +02:00
items.yaml Bug 30394: Add x-koha-request-id support on API routes 2022-04-04 16:23:46 +02:00
libraries.yaml Bug 30394: Add x-koha-request-id support on API routes 2022-04-04 16:23:46 +02:00
oauth.yaml Bug 30194: (follow-up) Simply OpenAPI Specification 2022-03-29 16:44:31 +02:00
patrons.yaml Bug 30394: Add x-koha-request-id support on API routes 2022-04-04 16:23:46 +02:00
patrons_account.yaml Bug 30194: (follow-up) Simply OpenAPI Specification 2022-03-29 16:44:31 +02:00
patrons_extended_attributes.yaml Bug 30394: Add x-koha-request-id support on API routes 2022-04-04 16:23:46 +02:00
patrons_holds.yaml Bug 30394: Add x-koha-request-id support on API routes 2022-04-04 16:23:46 +02:00
patrons_password.yaml Bug 30194: (follow-up) Simply OpenAPI Specification 2022-03-29 16:44:31 +02:00
public_patrons.yaml Bug 30194: (follow-up) Simply OpenAPI Specification 2022-03-29 16:44:31 +02:00
quotes.yaml Bug 30394: Add x-koha-request-id support on API routes 2022-04-04 16:23:46 +02:00
return_claims.yaml Bug 30194: (follow-up) Simply OpenAPI Specification 2022-03-29 16:44:31 +02:00
rotas.yaml Bug 30194: (follow-up) Simply OpenAPI Specification 2022-03-29 16:44:31 +02:00
suggestions.yaml Bug 30394: Add x-koha-request-id support on API routes 2022-04-04 16:23:46 +02:00
transfer_limits.yaml Bug 30394: Add x-koha-request-id support on API routes 2022-04-04 16:23:46 +02:00