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 faba196 commit 610d076Copy full SHA for 610d076
end_to_end_tests/fastapi_app/__main__.py
@@ -1,5 +1,3 @@
1
-import uvicorn
+from . import generate_openapi_json
2
3
-from . import app
4
-
5
-uvicorn.run(app)
+generate_openapi_json()
pyproject.toml
@@ -56,6 +56,7 @@ isort .\
56
&& mypy openapi_python_client\
57
&& pytest --cov openapi_python_client tests\
58
"""
59
+openapi = "python -m end_to_end_tests.fastapi_app"
60
gm = "python -m end_to_end_tests.regen_golden_master"
61
e2e = "pytest openapi_python_client end_to_end_tests"
62
0 commit comments