We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a609fa commit 5b62343Copy full SHA for 5b62343
tests/assets/with_docs_url_set.py
@@ -0,0 +1,11 @@
1
+from fastapi import FastAPI
2
+
3
+first_other = FastAPI()
4
5
6
+app = FastAPI(docs_url="/any-other-path")
7
8
9
+@app.get("/")
10
+def api_root():
11
+ return {"message": "single file api"}
tests/assets/without_docs_url_set.py
+app = FastAPI()
0 commit comments