Tags
Note
This post is a thought. It's a short note that I make about someone else's content online. Learn more about the process thoughts
Here's my thought on π Bigger Applications - Multiple Files - FastAPI
Fastapi lets you tag your APIRouter
's so that the swagger docs are grouped according to the router.
router = APIRouter(tags=['router'])
Now all routes in router
will appear in the router group in the swagger docs.
This post was a thought by Waylon Walker see all my thoughts at https://waylonwalker.com/thoughts