Files
fastapi/docs/en/docs/reference/apirouter.md
Nils Lindemann ebc8ac7295 📝 Tweak docs and translations links, typos, format (#11389)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-04-18 14:53:19 -05:00

524 B

APIRouter class

Here's the reference information for the APIRouter class, with all its parameters, attributes and methods.

You can import the APIRouter class directly from fastapi:

from fastapi import APIRouter

::: fastapi.APIRouter options: members: - websocket - include_router - get - put - post - delete - options - head - patch - trace - on_event