-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Closed
Labels
Description
First Check
- I added a very descriptive title to this issue.
- I used the GitHub search to find a similar issue and didn't find it.
- I searched the FastAPI documentation, with the integrated search.
- I already searched in Google "How to X in FastAPI" and didn't find any information.
- I already read and followed all the tutorial in the docs and didn't find an answer.
- I already checked if it is not related to FastAPI but to Pydantic.
- I already checked if it is not related to FastAPI but to Swagger UI.
- I already checked if it is not related to FastAPI but to ReDoc.
Commit to Help
- I commit to help with one of those options 👆
Example Code
from fastapi import FastAPI
app = FastAPI()
@app.get("/")
def read_root():
return {"Hello": "World"}Description
Request URL: https://cdn.jsdelivr.net/npm/swagger-ui-dist@3/swagger-ui.css
Request URL: https://cdn.jsdelivr.net/npm/swagger-ui-dist@3/swagger-ui-bundle.js
Because the above two resources cannot be accessed, there is no display in the DOCS page.
Operating System
Linux
Operating System Details
No response
FastAPI Version
fastapi==0.54.1
Python Version
python 3.7.3
Additional Context
No response
Reactions are currently unavailable