From b6041db35db91945f90c27ac3812dff7be1fe790 Mon Sep 17 00:00:00 2001 From: Renato Ambrosone Date: Tue, 20 May 2025 13:48:37 +0200 Subject: [PATCH] FIX: endpoints are now reachable only if version is included in the path Change-Id: Ica5e0c52b985e234e960d712e20a6df874e66b35 --- gnpyapi/core/route/path_request_route.py | 1 - 1 file changed, 1 deletion(-) diff --git a/gnpyapi/core/route/path_request_route.py b/gnpyapi/core/route/path_request_route.py index fe73a68..d263a07 100644 --- a/gnpyapi/core/route/path_request_route.py +++ b/gnpyapi/core/route/path_request_route.py @@ -12,7 +12,6 @@ PATH_REQUEST_BASE_PATH = '/path-request' @app.route(API_VERSION + PATH_REQUEST_BASE_PATH, methods=['POST']) -@app.route(PATH_REQUEST_BASE_PATH, methods=['POST']) def path_request(path_request_service: PathRequestService): data = request.json service = data['gnpy-api:service']