We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9577c83 commit 5c37a19Copy full SHA for 5c37a19
api/specs/web-server/openapi.py
@@ -98,6 +98,8 @@ def main():
98
99
# .yaml
100
oas_path = webserver_resources.get_path("api/v0/openapi.yaml").resolve()
101
+ if not oas_path.exists():
102
+ oas_path.write_text("")
103
print(f"Writing {oas_path}...", end=None)
104
with oas_path.open("wt") as fh:
105
yaml.safe_dump(openapi, stream=fh, sort_keys=False)
0 commit comments