From 650afd5c03e808dfd23221b225dbabe33a974790 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Wed, 17 Jul 2024 10:09:45 +0200 Subject: [PATCH] API map: corrige liens vers routes -query --- tools/create_api_map.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/create_api_map.py b/tools/create_api_map.py index 9afa57327..2db5996ab 100644 --- a/tools/create_api_map.py +++ b/tools/create_api_map.py @@ -133,7 +133,7 @@ class Token: ) # Préparation du lien vers la doc de la route href = "#" + self.func_name.replace("_", "-") - if self.query: + if self.query and not href.endswith("-query"): href += "-query" question_mark_group = _create_question_mark_group(current_end_coords, href)