Prevent invalid names

This commit is contained in:
Johan van Eck 2025-07-26 12:55:10 +03:00
parent 610cef5a9c
commit e34cc938c2
40 changed files with 40 additions and 40 deletions

View file

@ -27,7 +27,7 @@ def collect_regex_pattern(service, file_name, input_json, output_dir):
# Compose YAML structure
name = spec.get("name", "")
yml_data = {
"name": name,
"name": get_file_name(name),
"pattern": pattern,
"description": "",
"tags": [],