We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
app/main.py
1 parent 8bf0025 commit ee13aebCopy full SHA for ee13aeb
1 file changed
backend/app/main.py
@@ -8,6 +8,11 @@
8
9
10
def custom_generate_unique_id(route: APIRoute) -> str:
11
+ if not route.tags:
12
+ raise ValueError(
13
+ f"Route '{route.name}' is missing a tag. Each route "
14
+ "must have at least one tag for client generation."
15
+ )
16
return f"{route.tags[0]}-{route.name}"
17
18
0 commit comments