Initial commit: site monorepo with API, web, and infra.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
from pathlib import Path
|
||||
import json
|
||||
|
||||
from app.main import app
|
||||
|
||||
|
||||
def main() -> None:
|
||||
schema = app.openapi()
|
||||
output = Path(__file__).resolve().parent.parent / "openapi.json"
|
||||
output.write_text(json.dumps(schema, indent=2), encoding="utf-8")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user