R

Ravina • 3.96K Points
Extraordinary

Q. How can you disable the ReDoc documentation UI in FastAPI?

  • (A) redoc_url=None
  • (B) docs=False
  • (C) swagger=False
  • (D) app.disable_redoc()
  • Correct Answer - Option(A)
  • Views: 15
  • Filed under category Fast API
  • Hashtags:

Explanation by: Ravina
Pass `redoc_url=None` in the FastAPI() constructor to disable ReDoc.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.