AntiPattern
Route Decorator Misuse
route-decorator-misuse
A recurring routing configuration mistake where using the generic route decorator on Starlette/FastAPI APIRouter leads to confusing behavior or discouraged patterns, and the fix is to use api_route or method-specific decorators like @router.get.