Skip to content

Commit 475366a

Browse files
committed
1 parent ee9e232 commit 475366a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sphinxcontrib/openapi/renderers/_httpdomain.py

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
from sphinxcontrib.openapi.renderers import abc
1818
from sphinxcontrib.openapi.schema_utils import example_from_schema
1919

20+
from .. import utils
21+
2022

2123
CaseInsensitiveDict = requests.structures.CaseInsensitiveDict
2224

@@ -234,6 +236,8 @@ def __init__(self, state, options):
234236
def render_restructuredtext_markup(self, spec):
235237
"""Spec render entry point."""
236238

239+
utils.normalize_spec(spec, **self.options)
240+
237241
if spec.get("swagger") == "2.0":
238242
spec = lib2to3.convert(spec)
239243
yield from self.render_paths(spec.get("paths", {}))

0 commit comments

Comments
 (0)