Skip to content

Commit

Permalink
add missing file
Browse files Browse the repository at this point in the history
  • Loading branch information
jschlyter committed Oct 8, 2024
1 parent 77d804d commit 8b7308f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tools/export_openapi_yaml.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from fastapi.testclient import TestClient

from aggrec.server import AggrecServer

app = AggrecServer()

client = TestClient(app)
response = client.get("/openapi.yaml")
print(response.text)

0 comments on commit 8b7308f

Please sign in to comment.