From 1b0f070a112f63832579166f07e0ff92bcfa4c96 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 29 Nov 2023 11:54:30 +0000 Subject: [PATCH] Bug 35430: Move 'Stage' into StockRotation directory Cleaning up a little, I opt to move the 'Stage' controller under a new StockRotation parent directory. Signed-off-by: David Nind Signed-off-by: Kyle M Hall --- Koha/REST/V1/{ => StockRotation}/Stage.pm | 2 +- api/v1/swagger/paths/rotas.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename Koha/REST/V1/{ => StockRotation}/Stage.pm (97%) diff --git a/Koha/REST/V1/Stage.pm b/Koha/REST/V1/StockRotation/Stage.pm similarity index 97% rename from Koha/REST/V1/Stage.pm rename to Koha/REST/V1/StockRotation/Stage.pm index 8e1c4ce7344..787f977f20b 100644 --- a/Koha/REST/V1/Stage.pm +++ b/Koha/REST/V1/StockRotation/Stage.pm @@ -1,4 +1,4 @@ -package Koha::REST::V1::Stage; +package Koha::REST::V1::StockRotation::Stage; # This file is part of Koha. # diff --git a/api/v1/swagger/paths/rotas.yaml b/api/v1/swagger/paths/rotas.yaml index 96eef748301..dd367500493 100644 --- a/api/v1/swagger/paths/rotas.yaml +++ b/api/v1/swagger/paths/rotas.yaml @@ -1,7 +1,7 @@ --- "/rotas/{rota_id}/stages/{stage_id}/position": put: - x-mojo-to: Stage#move + x-mojo-to: StockRotation::Stage#move operationId: moveStage summary: Update stage tags: -- 2.30.2