Swagger UI not working in Fastapi version 0.61.2 #7027
Replies: 10 comments
-
|
Just installed fastAPI 0.61.2 version yet the swagger UI isn't working |
Beta Was this translation helpful? Give feedback.
-
|
Please provide more details, we cannot help you with the details you have provided |
Beta Was this translation helpful? Give feedback.
-
|
Anytime I ran my main:app and navigate to 127.0.0.1:8000/docs, I got blank page on my browser. |
Beta Was this translation helpful? Give feedback.
-
|
Is there an error in your server console, or in the Javascript console in your browser? |
Beta Was this translation helpful? Give feedback.
-
|
Tried to reproduce this but everything works Here are my versions. $ pip list | grep -E "fastapi|starlette|uvicorn"
fastapi 0.61.2
starlette 0.14.1
uvicorn 0.11.8 Please send a curl request to the /docs and share the headers curl -v http://localhost:8000/docs |
Beta Was this translation helpful? Give feedback.
-
Thanks. It worked. |
Beta Was this translation helpful? Give feedback.
-
|
If your issue is solved, can you please close it? |
Beta Was this translation helpful? Give feedback.
-
Yes, it has been solved. |
Beta Was this translation helpful? Give feedback.
-
|
@Christomesh so could you please close this issue. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the help here everyone! 👏 🙇 Thanks for reporting back and closing the issue 👍 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First check
Example
Here's a self-contained, minimal, reproducible, example with my use case:
Description
/.{"Hello": "World"}.{"Hello": "Sara"}.Environment
To know the FastAPI version use:
python -c "import fastapi; print(fastapi.__version__)"To know the Python version use:
Additional context
Just installed fastAPI 0.61.2 version yet the swagger UI isn't working
Beta Was this translation helpful? Give feedback.
All reactions