[Koha-bugs] [Bug 30674] x-koha-override should use collectionFormat: csv

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 3 20:10:15 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30674

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 134556
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=134556&action=edit
Bug 30674: x-koha-override should use collectionFormat: csv

This patch makes this header parameter rely on the OpenAPI spec to
validate and document the available options.

Right now the only place is in POST and PUT /holds.

To test:
1. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/holds.t \
           t/db_dependent/api/v1/auth_authenticate_api_request.t
=> SUCCESS: Tests pass
2. Apply this patch
3. Repeat 1
=> SUCCESS: Tests still pass!
4. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list