startup bug
This commit is contained in:
parent
c8588406d2
commit
c6206f52e4
1 changed files with 1 additions and 0 deletions
|
@ -73,6 +73,7 @@ out_path = CWD.joinpath("temp", "index.html")
|
|||
|
||||
def generate_api_docs(app):
|
||||
with open(out_path, "w") as fd:
|
||||
out_path.parent.mkdir(exist_ok=True)
|
||||
print(HTML_TEMPLATE % json.dumps(app.openapi()), file=fd)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue