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.
1 parent 7bf89ad commit 31da288Copy full SHA for 31da288
fastapi_code_generator/__main__.py
@@ -180,7 +180,7 @@ def generate_code(
180
for tag in operation.tags:
181
all_tags.append(tag)
182
# Convert from Tag Names to router_names
183
- sorted_tags = sorted(set(all_tags))
+ sorted_tags = sorted(set(all_tags), key=lambda x: x.lower())
184
routers = sorted(
185
[re.sub(TITLE_PATTERN, '_', tag.strip()).lower() for tag in sorted_tags]
186
)
0 commit comments