]> git.koha-community.org Git - koha.git/commit
Bug 16497: (follow-up) Adapt to existing guidelines and RFC
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 11 Jan 2019 16:23:14 +0000 (13:23 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 25 Feb 2019 19:01:29 +0000 (19:01 +0000)
commita133230dacb5ebadd491d0c91d68a2b6d9365cb4
tree02f0a823dd11821cc1fcf71a7270646019d5c5ae
parent06928180a0a66824452fa81b47347c55df902d05
Bug 16497: (follow-up) Adapt to existing guidelines and RFC

This patch makes the original implementation match what is specified on
the RFC [1].

The controller is updated, and so the tests.

To test:
- Apply this patches:
- Run:
  $ kshell
 k$ prove t/db_dependent/api/v1/libraries.t
=> SUCCESS: Tests pass!

[1] https://wiki.koha-community.org/wiki/Libraries_endpoint_RFC

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 0718416ff1ca70a25bc12fa3b677fdeafd7854c8)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/REST/V1/Library.pm
api/v1/swagger/definitions/library.json
api/v1/swagger/parameters.json
api/v1/swagger/parameters/library.json
api/v1/swagger/paths.json
api/v1/swagger/paths/libraries.json
api/v1/swagger/x-primitives.json
t/db_dependent/api/v1/libraries.t