**Note**: you probably shouldn't use this parameter, it is inherited
from Starlette and supported for compatibility.
- In FastAPI, you normally would use the *path operation* decorators,
- like:
-
- * `app.get()`
- * `app.post()`
- * etc.
-
---
A list of routes to serve incoming HTTP and WebSocket requests.
**Note**: you probably shouldn't use this parameter, it is inherited
from Starlette and supported for compatibility.
- In FastAPI, you normally would use the *path operation* decorators,
- like:
-
- * `router.get()`
- * `router.post()`
- * etc.
-
---
A list of routes to serve incoming HTTP and WebSocket requests.