We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 565841f commit 41e32bcCopy full SHA for 41e32bc
.generator/conftest.py
@@ -24,6 +24,7 @@
24
format_data_with_schema,
25
get_response_type,
26
upperfirst,
27
+ escape_method_reserved_names,
28
)
29
30
@@ -75,6 +76,7 @@ def lookup(value, path):
75
76
JINJA_ENV.globals["format_parameters"] = format_parameters
77
JINJA_ENV.globals["get_response_type"] = get_response_type
78
JINJA_ENV.globals["get_type_at_path"] = openapi.get_type_at_path
79
+JINJA_ENV.filters["escape_method_reserved_names"] = escape_method_reserved_names
80
81
JAVA_EXAMPLE_J2 = JINJA_ENV.get_template("example.j2")
82
0 commit comments