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)