From 0eac533c39e7795beaa0a4dbe0a41f31d38c3765 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 Signed-off-by: Pedro Amorim Signed-off-by: Katrin Fischer --- 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 6f5b67fed1..d5f8a8ded7 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 03d58ebdf9..4376c688bf 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.39.5