From c3b7265b00fd33e373a0891aa1c642a8367b3373 Mon Sep 17 00:00:00 2001 From: Purushot14 Date: Sat, 15 Mar 2025 03:21:58 +0530 Subject: [PATCH] Documentation highlighter missed on review changes that fixed now --- docs/en/docs/how-to/custom-request-and-route.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/docs/how-to/custom-request-and-route.md b/docs/en/docs/how-to/custom-request-and-route.md index a47a64291..a97243f5f 100644 --- a/docs/en/docs/how-to/custom-request-and-route.md +++ b/docs/en/docs/how-to/custom-request-and-route.md @@ -112,7 +112,7 @@ In this example, the *path operations* under the `router` will use the custom `T You can also set the `router_class` parameter of an `APIRouter`: -{* ../../docs_src/custom_api_router/tutorial001.py hl[96,100] *} +{* ../../docs_src/custom_api_router/tutorial001.py hl[100:102] *} #### 🚀 Custom FastAPI Router with Timed Responses @@ -138,4 +138,4 @@ This example enhances FastAPI with structured routing and response timing, makin This setup is **ideal for scalable FastAPI projects**, ensuring better organization and easier debugging. -{* ../../docs_src/custom_api_router/tutorial001.py hl[93:120,30:36] *} +{* ../../docs_src/custom_api_router/tutorial001.py hl[100:149,21:27] *}