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.
2 parents 89f0ce4 + cc62b44 commit 002ab32Copy full SHA for 002ab32
fastapi_code_generator/__main__.py
@@ -188,7 +188,7 @@ def generate_code(
188
for tag in operation.tags:
189
all_tags.append(tag)
190
# Convert from Tag Names to router_names
191
- sorted_tags = sorted(set(all_tags))
+ sorted_tags = sorted(set(all_tags), key=lambda x: x.lower())
192
routers = sorted(
193
[re.sub(TITLE_PATTERN, '_', tag.strip()).lower() for tag in sorted_tags]
194
)
0 commit comments