fastmcp/tests/server/middleware
Jeremiah Lowin 767de312f9
Fix middleware list result types (#1125)
* Catch more openapi changes

* Simplify middleware list operations to use lists directly

- Updated middleware signatures to work with list[Tool], list[Resource], etc instead of wrapper objects
- Removed unnecessary ListToolsResult, ListResourcesResult wrapper types
- Updated documentation to show simpler list-based filtering pattern
- Added tests for list-based middleware filtering

Closes #1121

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-07-11 18:04:20 -04:00
..
__init__.py Add single-component methods 2025-06-18 19:47:19 -04:00
test_error_handling.py Add production-ready middleware examples with comprehensive tests 2025-06-22 21:57:49 -04:00
test_logging.py Fix middleware tests 2025-06-26 18:13:32 -04:00
test_middleware.py Fix middleware list result types (#1125) 2025-07-11 18:04:20 -04:00
test_rate_limiting.py Fix middleware tests 2025-06-26 18:13:32 -04:00
test_timing.py Fix middleware tests 2025-06-26 18:13:32 -04:00