Failed to load definition in the "documentation" page: redux error #7394
-
Steps to reproduceWhen I click https://my-project/documentation You will see a "Failed to load definition. Failed to fetch /openapi.json". In the console, you have: My code looks like that: from fastapi import FastAPI
app = FastAPI(openapi_url="/openapi.json", docs_url="/documentation")
@app.get("/status")
def return_simple():
return "ok"I can't find an anwser for this problem. Do you have any idea? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
I don't have this problem anymore. I solved it by upgrading to 0.60.1. Now I have another problem. I'm going to open another issue for my current problem and close this one. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for reporting back and closing the issue 👍 |
Beta Was this translation helpful? Give feedback.
I don't have this problem anymore. I solved it by upgrading to 0.60.1. Now I have another problem. I'm going to open another issue for my current problem and close this one.