R

Ravina • 3.96K Points
Extraordinary

Q. What does `app.openapi()` return?

  • (A) HTML documentation
  • (B) List of routes
  • (C) OpenAPI schema in JSON format
  • (D) Swagger UI HTML page
  • Correct Answer - Option(C)
  • Views: 15
  • Filed under category Fast API
  • Hashtags:

Explanation by: Ravina
`app.openapi()` returns the OpenAPI schema as a JSON dict.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.