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.
Note
This post is a [[ thoughts | thought ]]. Itβs a short note that I make about someone elseβs content online #thoughts