R

Ravina • 3.96K Points
Extraordinary

Q. What is the purpose of the `tags` parameter in route decorators?

  • (A) To group endpoints in the OpenAPI docs
  • (B) To define user roles
  • (C) To enable logging
  • (D) To create route aliases
  • Correct Answer - Option(A)
  • Views: 30
  • Filed under category Fast API
  • Hashtags:

Explanation by: Ravina

`tags` are used to organize routes into sections in the generated documentation.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.