Koha-clms/api/v1/swagger/definitions
Matt Blenkinsop 1d522cc246
Bug 31160: Required fields in patron api
The Patron API PUT request required the fields "surname","address","city","library_id","category_id". Meanwhile the CSV import page for patrons only requires "surname","library_id","category_id". The fields for "address" and "city" have been removed from the "required" section of the api>v1>swagger>definitions>patron.yaml file to match the CSV import page.

Test Plan:
1) Send a PUT request to http://localhost:8081/api/v1/patrons/19 with an empty body
2) Error message should ask for 5 missing fields as listed above
3) Apply patch
4) Restart Apache server using "restart_all" in your ktd shell
5) Resubmit your request
6) Error message should now only request "surname","library_id","category_id"

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-12-13 08:44:35 -03:00
..
account_line.yaml
…
advancededitormacro.yaml
…
allows_renewal.yaml
…
basket.yaml
…
bundle_link.yaml
…
cashup.yaml
…
checkout.yaml
…
checkouts.yaml
…
circ-rule-kind.yaml
…
city.yaml
…
club_hold.yaml
…
club_hold_patron_hold.yaml
…
club_hold_patron_holds.yaml
…
club_holds.yaml
…
erm_agreement.yaml Bug 32030: Add users to licenses - REST API Spec 2022-11-08 09:44:49 -03:00
erm_agreement_license.yaml Bug 32030: ERM - link licenses to an agreement 2022-11-08 09:43:45 -03:00
erm_agreement_period.yaml Bug 32030: ERM - FIX swagger specs for bug 30194 2022-11-08 09:43:40 -03:00
erm_agreement_relationship.yaml Bug 32030: ERM - related agreement - REST API 2022-11-08 09:43:51 -03:00
erm_document.yaml Bug 32030: Add document to license - REST API spec 2022-11-08 09:44:31 -03:00
erm_eholdings_package.yaml Bug 32030: Add Notes field to erm_eholdings_packages table 2022-11-08 09:44:26 -03:00
erm_eholdings_package_agreement.yaml Bug 32030: Rename Package|Resource|Title 2022-11-08 09:44:02 -03:00
erm_eholdings_resource.yaml Bug 32030: Proxy with HoldingsIQ 2022-11-08 09:44:07 -03:00
erm_eholdings_title.yaml Bug 32030: Show on the title list view if titles are selected in KB 2022-11-08 09:44:24 -03:00
erm_license.yaml Bug 32030: Add users to licenses - REST API Spec 2022-11-08 09:44:49 -03:00
erm_license_agreement.yaml Bug 32030: ERM - link licenses to an agreement 2022-11-08 09:43:45 -03:00
erm_user_role.yaml Bug 32154: Missing primary key on erm_user_roles table 2022-11-11 08:54:34 -03:00
error.yaml
…
fund.yaml
…
hold.yaml Bug 24860: (QA follow-up) Terminology and translation fixes 2022-11-04 19:39:58 -03:00
holds.yaml
…
identity_provider.yaml Bug 31378: Rename Auth Provider to Identity Provider and add Client.t tests 2022-11-08 14:39:51 -03:00
identity_provider_domain.yaml Bug 31378: Rename Auth Provider to Identity Provider and add Client.t tests 2022-11-08 14:39:51 -03:00
ill_backend.yaml
…
ill_backends.yaml
…
import_batch_profile.yaml
…
import_batch_profiles.yaml
…
import_record_match.yaml
…
invoice.yaml
…
item.yaml Bug 31128: Add effective_not_for_loan_status into items response 2022-07-22 11:32:26 -03:00
item_group.yaml
…
job.yaml Bug 30982: API tweaks 2022-09-23 08:57:49 -03:00
library.yaml Bug 29144: Copy and remove branches.opac_info (dbrev) 2022-09-16 09:55:20 -03:00
order.yaml Bug 15348: Add estimated_delivery_date to object spec 2022-09-16 17:10:41 -03:00
patron.yaml Bug 31160: Required fields in patron api 2022-12-13 08:44:35 -03:00
patron_account_credit.yaml Bug 23012: Show the PROCESSING_FOUND account credit type 2022-10-24 17:43:28 -03:00
patron_balance.yaml
…
patron_extended_attribute.yaml Bug 31381: Handle null attributes in list 2022-11-30 15:58:13 -03:00
quote.yaml
…
renewal.yaml
…
renewals.yaml
…
return_claim.yaml
…
search_filter.yaml Bug 17170: (QA follow-up) Spec cleanup 2022-10-21 11:15:22 -03:00
smtp_server.yaml
…
suggestion.yaml Bug 31374: (follow-up) change private note to staff_note and reorder columns 2022-09-07 13:32:51 -07:00
transfer_limit.yaml
…
vendor.yaml Bug 32030: ERM - Packages - Vue 2022-11-08 09:43:57 -03:00