From 47586cab6c88e32026d8945bbf730b6758b1c047 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Mon, 8 Jan 2024 12:03:42 +0000 Subject: [PATCH] Bug 35581: Koha::REST::V1::Illrequests -> Koha::REST::V1::ILL::Requests Test plan: 1. Apply patch 2. Make sure tests pass, run: prove t/db_dependent/api/v1/ill_* Signed-off-by: Tomas Cohen Arazi --- Koha/REST/V1/{Illrequests.pm => ILL/Requests.pm} | 4 ++-- api/v1/swagger/paths/ill_requests.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename Koha/REST/V1/{Illrequests.pm => ILL/Requests.pm} (98%) diff --git a/Koha/REST/V1/Illrequests.pm b/Koha/REST/V1/ILL/Requests.pm similarity index 98% rename from Koha/REST/V1/Illrequests.pm rename to Koha/REST/V1/ILL/Requests.pm index 4c1a526b4d1..ac7f41ffeae 100644 --- a/Koha/REST/V1/Illrequests.pm +++ b/Koha/REST/V1/ILL/Requests.pm @@ -1,4 +1,4 @@ -package Koha::REST::V1::Illrequests; +package Koha::REST::V1::ILL::Requests; # This file is part of Koha. # @@ -32,7 +32,7 @@ use Try::Tiny qw( catch try ); =head1 NAME -Koha::REST::V1::Illrequests +Koha::REST::V1::ILL::Requests =head2 Operations diff --git a/api/v1/swagger/paths/ill_requests.yaml b/api/v1/swagger/paths/ill_requests.yaml index 03d58ebdf9c..4376c688bff 100644 --- a/api/v1/swagger/paths/ill_requests.yaml +++ b/api/v1/swagger/paths/ill_requests.yaml @@ -1,7 +1,7 @@ --- /ill/requests: get: - x-mojo-to: Illrequests#list + x-mojo-to: ILL::Requests#list operationId: listIllrequests tags: - ill_requests @@ -64,7 +64,7 @@ permissions: ill: "1" post: - x-mojo-to: Illrequests#add + x-mojo-to: ILL::Requests#add operationId: addIllrequest tags: - ill_request -- 2.44.0