fastapi/docs/en
Purushot14 3c1d6ebf9f feat: Add support for custom APIRoute and APIRouter in FastAPI
- Introduced `route_class` and `router_class` parameters to allow custom route and router classes.
- Updated `FastAPI` initialization to use the provided `router_class` and `route_class`.
- Modified webhook initialization to respect the custom router class.
- Added test cases to validate:
  - Custom `route_class` and `router_class` usage.
  - Route naming consistency.
  - Presence of `X-Response-Time` header in responses.

This enhances FastAPI’s flexibility, allowing users to customize route handling and routing behavior.
2025-03-13 00:09:00 +05:30
..
data 🔧 Update sponsors: pause TestDriven (#13446) 2025-03-03 15:33:33 +01:00
docs feat: Add support for custom APIRoute and APIRouter in FastAPI 2025-03-13 00:09:00 +05:30
overrides 🔧 Update sponsors: add CodeRabbit (#13402) 2025-02-20 18:49:13 +01:00
mkdocs.insiders.yml 🔧 Update configs for MkDocs for languages and social cards (#12016) 2024-08-14 09:33:27 -05:00
mkdocs.maybe-insiders.yml 🔨 Enable linenums in MkDocs Material during local live development to simplify highlighting code (#9769) 2023-06-30 18:23:02 +02:00
mkdocs.no-insiders.yml Add Material for MkDocs Insiders features and cards (#9748) 2023-06-26 16:05:43 +02:00
mkdocs.yml 👷‍♀️ Add script for GitHub Topic Repositories and update External Links (#13135) 2025-01-02 20:44:50 +00:00