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.
@waylonwalker
2023
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.
You found my thought's a collection of short posts generally tied to a link on the web and written through a small chrome extension. See full posts on waylonwalker.com