79165195

Date: 2024-11-07 06:14:05
Score: 1.5
Natty:
Report link

The easiest way to resolve this is to add a root_path argument to your FastAPI instance:

 app = FastAPI(
        root_path="/api",
        docs_url="/"
    )
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Muhammad Saad Aziz