Bug 27947: (QA follow-up) Refactor routes
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 17 Sep 2021 14:42:34 +0000 (11:42 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 6 Oct 2021 08:09:25 +0000 (10:09 +0200)
commitdc79aa0f40f50f6c0d26fecf249b0b69fd3dc7ba
treea43ce659a5e3ac5c4fe8de7906eadb1084af302f
parentc53a907c66aab7f932f3bf09924084935aae5962
Bug 27947: (QA follow-up) Refactor routes

This patch refactors the route specs a bit, and also reorganizes code
for easier tracking.

Unused exceptions that were added earlier are removed for now.

A follow-up patch will add tests to this routes.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Exceptions/ArticleRequests.pm [deleted file]
Koha/REST/V1/ArticleRequests.pm
Koha/REST/V1/Patrons.pm
api/v1/swagger/parameters.json
api/v1/swagger/parameters/article_request.json [deleted file]
api/v1/swagger/paths.json
api/v1/swagger/paths/article_requests.json [deleted file]
api/v1/swagger/paths/article_requests.yaml [new file with mode: 0644]
api/v1/swagger/paths/public_patrons.json
api/v1/swagger/swagger.yaml