diff --git a/swagger_py_codegen/templates/sanic/schemas.tpl b/swagger_py_codegen/templates/sanic/schemas.tpl index fd90c23..747e195 100644 --- a/swagger_py_codegen/templates/sanic/schemas.tpl +++ b/swagger_py_codegen/templates/sanic/schemas.tpl @@ -4,6 +4,7 @@ {% include '_do_not_change.tpl' %} import six +from jsonschema import RefResolver base_path = '{{base_path}}'