Tomas Cohen Arazi
185b431ebf
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> |
||
---|---|---|
.. | ||
acquisitions_baskets.yaml | ||
acquisitions_funds.yaml | ||
acquisitions_orders.yaml | ||
acquisitions_vendors.yaml | ||
advancededitormacros.yaml | ||
article_requests.yaml | ||
auth.yaml | ||
authorised_value_categories.yaml | ||
authorised_values.yaml | ||
authorities.yaml | ||
biblios.yaml | ||
biblios_item_groups.yaml | ||
cash_registers.yaml | ||
checkouts.yaml | ||
circulation-rules.yaml | ||
cities.yaml | ||
clubs.yaml | ||
config_smtp_servers.yaml | ||
erm_agreements.yaml | ||
erm_documents.yaml | ||
erm_eholdings_packages.yaml | ||
erm_eholdings_packages_resources.yaml | ||
erm_eholdings_resources.yaml | ||
erm_eholdings_titles.yaml | ||
erm_eholdings_titles_resources.yaml | ||
erm_licenses.yaml | ||
erm_users.yaml | ||
holds.yaml | ||
ill_backends.yaml | ||
illrequests.yaml | ||
import_batch_profiles.yaml | ||
import_batches.yaml | ||
items.yaml | ||
jobs.yaml | ||
libraries.yaml | ||
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 | ||
transfer_limits.yaml |