Koha/api/v1/swagger/paths
Tomas Cohen Arazi 185b431ebf
Bug 33227: Remove invalid spec and adjust the code accordingly
The spec contains a non-standard definition for the body param. Removing
it from the spec makes us need to handle the 'body' manually in the case
of JSON data.

This patch basically does that. It also changes the uses of
$c->validation, which are discouraged by the
Mojolicious::Plugin::OpenAPI dev/maintainer. I do it to highlight what
we must do in other places and the fact that there's no behavior change.

To test:
1. Apply this patch
2. Run:
   $ ktd --shell
  k$ prove t/db_dependent/api/v1/biblios.t \
           xt/api.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-03-20 09:39:50 -03:00
..
acquisitions_baskets.yaml
acquisitions_funds.yaml
acquisitions_orders.yaml Bug 33161: Add +strings support to GET /items and /items/:item_id 2023-03-10 10:20:09 -03:00
acquisitions_vendors.yaml
advancededitormacros.yaml
article_requests.yaml
auth.yaml Bug 30962: (QA follow-up) Rename attribute and simplify tests 2023-02-03 10:30:13 -03:00
authorised_value_categories.yaml Bug 32997: Add REST API endpoint to list authorised values for multiple given categories 2023-03-02 12:00:15 -03:00
authorised_values.yaml Bug 32997: (QA follow-up) values => authorised_values 2023-03-02 12:00:17 -03:00
authorities.yaml Bug 31793: (QA follow-up) Require editauthorities flag 2023-03-10 10:21:19 -03:00
biblios.yaml Bug 33227: Remove invalid spec and adjust the code accordingly 2023-03-20 09:39:50 -03:00
biblios_item_groups.yaml Bug 32923: Fix new occurrences of x-koha-embed at top level 2023-02-27 11:07:14 -03:00
cash_registers.yaml
checkouts.yaml Bug 32923: Fix new occurrences of x-koha-embed at top level 2023-02-27 11:07:14 -03:00
circulation-rules.yaml
cities.yaml
clubs.yaml Bug 30194: (follow-up) Simply OpenAPI Specification 2022-03-29 16:44:31 +02:00
config_smtp_servers.yaml
erm_agreements.yaml Bug 32923: Some fixes in ERM specs 2023-02-27 11:07:19 -03:00
erm_documents.yaml Bug 32030: Add document to license - REST API spec 2022-11-08 09:44:31 -03:00
erm_eholdings_packages.yaml Bug 33145: Fix ERM swagger specs 2023-03-06 09:51:43 -03:00
erm_eholdings_packages_resources.yaml Bug 32923: Some fixes in ERM specs 2023-02-27 11:07:19 -03:00
erm_eholdings_resources.yaml Bug 32923: (follow-up) Fix x-koha-embed from EHoldings/*/* 2023-03-17 11:25:34 -03:00
erm_eholdings_titles.yaml Bug 32923: (follow-up) Fix x-koha-embed from EHoldings/*/* 2023-03-17 11:25:34 -03:00
erm_eholdings_titles_resources.yaml Bug 33145: Fix ERM swagger specs 2023-03-06 09:51:43 -03:00
erm_licenses.yaml Bug 32923: Some fixes in ERM specs 2023-02-27 11:07:19 -03:00
erm_users.yaml Bug 32923: Fix new occurrences of x-koha-embed at top level 2023-02-27 11:07:14 -03:00
holds.yaml Bug 24860: Implement reserves.item_group_id 2022-11-04 19:39:55 -03:00
ill_backends.yaml Bug 30194: (follow-up) Simply OpenAPI Specification 2022-03-29 16:44:31 +02:00
illrequests.yaml
import_batch_profiles.yaml
import_batches.yaml
items.yaml Bug 33161: Add +strings support to GET /items and /items/:item_id 2023-03-10 10:20:09 -03:00
jobs.yaml Bug 30982: (QA follow-up) Spelling 2022-09-23 08:57:50 -03:00
libraries.yaml Bug 29144: Copy and remove branches.opac_info (dbrev) 2022-09-16 09:55:20 -03:00
oauth.yaml
patrons.yaml
patrons_account.yaml
patrons_extended_attributes.yaml
patrons_holds.yaml
patrons_password.yaml
public_oauth.yaml
public_patrons.yaml
quotes.yaml
return_claims.yaml
rotas.yaml
search_filters.yaml
suggestions.yaml
tickets.yaml Bug 31028: Add catalog concern management page to staff 2023-03-06 11:23:17 -03:00
transfer_limits.yaml