]> git.koha-community.org Git - koha.git/commit
Bug 33328: Rename x-marc-schema => x-record-schema
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 23 Mar 2023 22:46:48 +0000 (19:46 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 5 May 2023 12:13:24 +0000 (09:13 -0300)
commit00629fe94f728fda4d24a64855ed2768a88e0357
treeeca7c0c65e22b851e06bd756e520798ab9af2721
parenta3a58b93c3d1c78153dec8a3e5849561f7cf6607
Bug 33328: Rename x-marc-schema => x-record-schema

This patch renames the header on the biblio API so it is not entirely
tied to MARC, trying to follow the biblio_metadata table generic
approach.

To test:
1. Apply this patch
2. Run:
   $ prove t/db_dependent/api/v1/biblios.t
=> SUCCESS: Tests pass
3. You agree with the change?
4. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Magnus Enger <magnus@libriotech.no>
Change sounds reasonable. Tests pass before and after patch.
"grep -r "x-marc-schema" *" confirms no occurrences after patch.
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/REST/V1/Biblios.pm
api/v1/swagger/swagger.yaml
t/db_dependent/api/v1/biblios.t