Improve language for route_map_fn tip (#1788) (#1792)

This commit is contained in:
Jeremiah Lowin 2025-09-08 21:03:05 -04:00 committed by GitHub
commit 8eadaaa958
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.
<Tip>
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.
</Tip>
```python