From 6692f95062e27dc1563ea49ddaf6024816e68efe 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 Signed-off-by: Katrin Fischer --- 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 8e1c4ce734..787f977f20 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 96eef74830..dd36750049 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.39.5