File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/openapi_python_generator/language_converters/python Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1616from openapi_schema_pydantic import Schema
1717
1818from openapi_python_generator .language_converters .python import common
19+ from openapi_python_generator .language_converters .python .common import normalize_symbol
1920from openapi_python_generator .language_converters .python .jinja_config import JINJA_ENV
2021from openapi_python_generator .language_converters .python .model_generator import (
2122 type_converter ,
@@ -293,7 +294,7 @@ def generate_service_operation(
293294 )
294295
295296 if op .tags is not None and len (op .tags ) > 0 :
296- so .tag = op .tags [0 ]
297+ so .tag = normalize_symbol ( op .tags [0 ])
297298
298299 try :
299300 compile (so .content , "<string>" , "exec" )
You can’t perform that action at this time.
0 commit comments