From 43db15c12226fac0a47faf76426ae153e0677760 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maik=20Fr=C3=B6be?= Date: Tue, 10 Dec 2024 13:38:52 +0100 Subject: [PATCH] adjust rest schema --- application/src/tira_app/endpoints/v1/_tirex.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/src/tira_app/endpoints/v1/_tirex.py b/application/src/tira_app/endpoints/v1/_tirex.py index 1da6fd5f..1f2a4061 100644 --- a/application/src/tira_app/endpoints/v1/_tirex.py +++ b/application/src/tira_app/endpoints/v1/_tirex.py @@ -95,7 +95,7 @@ def run_by_uuid(request: Request, run_uuid: str) -> Response: endpoints = [ - path("tirex//topics/", topics), - path("tirex//topic/", topic), - path("tirex/runs/", run_by_uuid), + path("/topics", topics), + path("/topic/", topic), + path("runs/", run_by_uuid), ]