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 16
16
from openapi_schema_pydantic import Schema
17
17
18
18
from openapi_python_generator .language_converters .python import common
19
+ from openapi_python_generator .language_converters .python .common import normalize_symbol
19
20
from openapi_python_generator .language_converters .python .jinja_config import JINJA_ENV
20
21
from openapi_python_generator .language_converters .python .model_generator import (
21
22
type_converter ,
@@ -293,7 +294,7 @@ def generate_service_operation(
293
294
)
294
295
295
296
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 ])
297
298
298
299
try :
299
300
compile (so .content , "<string>" , "exec" )
You can’t perform that action at this time.
0 commit comments