Koha/api/v1/swagger/definitions
Jonathan Druart ac1febd685
Bug 32801: Prevent 500 on /checkouts
If checked_in flag is passed we return the "old checkouts". But if the
item has been deleted we explode with
  "message":"Expected integer - got null.","path":"\/0\/item_id"

The specs should reflect that an item can have been deleted.

Test plan:
Hit the endpoint and confirm the above.
Can be done easily using curl:
  curl -u koha:koha --request GET 'http://localhost:8081/api/v1/checkouts?patron_id=5&checked_in=1' --header "Content-Type: application/json" | jq

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit c4cb183ae1)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2023-07-18 11:05:58 +01:00
..
account_line.yaml Bug 29453: Add endpoints for fetching patron credits & debits 2023-05-05 12:13:50 -03:00
advancededitormacro.yaml
allows_renewal.yaml
authorised_value.yaml Bug 32981: Add endpoint to get AV for given category 2023-03-02 12:00:10 -03:00
authorised_value_category.yaml Bug 32997: Add REST API endpoint to list authorised values for multiple given categories 2023-03-02 12:00:15 -03:00
basket.yaml
bundle_link.yaml Bug 33021: Show an alert when adding a reserved item to an item bundle 2023-03-27 12:50:05 +02:00
cashup.yaml
checkout.yaml Bug 32801: Prevent 500 on /checkouts 2023-07-18 11:05:58 +01:00
checkouts.yaml
circ-rule-kind.yaml
city.yaml
club_hold.yaml
club_hold_patron_hold.yaml
club_hold_patron_holds.yaml
club_holds.yaml
credit.yaml Bug 29453: (follow-up) Add tests and fix minimum amount in credit.yaml definition 2023-05-05 12:13:51 -03:00
debit.yaml Bug 21043: Add debit REST endpoint 2023-05-05 12:13:51 -03:00
erm_agreement.yaml
erm_agreement_license.yaml
erm_agreement_period.yaml
erm_agreement_relationship.yaml
erm_document.yaml
erm_eholdings_package.yaml
erm_eholdings_package_agreement.yaml
erm_eholdings_resource.yaml
erm_eholdings_title.yaml
erm_license.yaml
erm_license_agreement.yaml
erm_user_role.yaml
error.yaml
fund.yaml
hold.yaml
holds.yaml
identity_provider.yaml Bug 33859: Use the phrase 'Identity providers' instead of 'Authentication providers' 2023-06-09 11:22:07 -03:00
identity_provider_domain.yaml Bug 33859: Use the phrase 'Identity providers' instead of 'Authentication providers' 2023-06-09 11:22:07 -03:00
ill_backend.yaml Bug 22440: Move backend statuses api endpoint 2023-05-05 09:13:43 -03:00
ill_backends.yaml
ill_request.yaml Bug 34130: Make requested_date nullable in api definition 2023-07-17 15:45:14 +01:00
ill_status.yaml Bug 22440: ILL API changes 2023-05-05 09:13:42 -03:00
import_batch_profile.yaml
import_batch_profiles.yaml
import_record_match.yaml
invoice.yaml
item.yaml Bug 31212: Adjust item spec for last_seen_date 2023-05-15 08:53:46 -03:00
item_group.yaml
job.yaml
library.yaml
order.yaml Bug 8179: Receive multiple orders 2023-05-15 08:53:47 -03:00
patron.yaml
patron_account_credit.yaml
patron_balance.yaml
patron_extended_attribute.yaml
quote.yaml
renewal.yaml Bug 30642: Make renewal_type an enum in spec and add test 2023-02-10 11:08:00 -03:00
renewals.yaml
return_claim.yaml
search_filter.yaml
smtp_server.yaml
suggestion.yaml
ticket.yaml Bug 31028: Add catalog concern management page to staff 2023-03-06 11:23:17 -03:00
ticket_update.yaml Bug 31028: Add catalog concern management page to staff 2023-03-06 11:23:17 -03:00
transfer_limit.yaml
vendor.yaml Bug 33103: Embed aliases in GET /vendors 2023-04-20 15:48:38 -03:00
vendor_alias.yaml Bug 33103: Embed aliases in GET /vendors 2023-04-20 15:48:38 -03:00