From 8eadaaa958b87457142c3b3e9a5163378523fa95 Mon Sep 17 00:00:00 2001 From: Jeremiah Lowin <153965+jlowin@users.noreply.github.com> Date: Mon, 8 Sep 2025 21:03:05 -0400 Subject: [PATCH] Improve language for route_map_fn tip (#1788) (#1792) --- docs/integrations/openapi.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/integrations/openapi.mdx b/docs/integrations/openapi.mdx index 056cea1bb..e023535a8 100644 --- a/docs/integrations/openapi.mdx +++ b/docs/integrations/openapi.mdx @@ -217,7 +217,7 @@ For advanced use cases that require more complex logic, you can provide a `route In addition to more precise targeting of methods, patterns, and tags, this function can access any additional OpenAPI metadata about the route. -The `route_map_fn` **is** called on routes that matched `MCPType.EXCLUDE` in your custom maps, giving you an opportunity to override the exclusion. +The `route_map_fn` is called on all routes, even those that matched `MCPType.EXCLUDE` in your custom maps. This gives you an opportunity to customize the mapping or even override an exclusion. ```python