fastmcp/tests/server
Jeremiah Lowin 23d7337a97 Add comprehensive OpenAPI 3.0 vs 3.1 compatibility tests
Adds test coverage for specific differences between OpenAPI 3.0 and 3.1 that can cause validation issues, including the scenario reported in GitHub issue #1021.

Test coverage includes:
- OpenAPI 3.0 boolean exclusiveMaximum format vs 3.1 numeric format
- OpenAPI 3.0 nullable vs 3.1 type array format
- Complex schemas with $defs and multiple exclusive constraints
- Edge cases with both exclusiveMaximum and exclusiveMinimum

These tests serve as regression prevention and document expected behavior for both OpenAPI versions.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-03 20:55:32 -04:00
..
http Update all tests 2025-06-27 21:41:37 -04:00
middleware Fix middleware tests 2025-06-26 18:13:32 -04:00
openapi Add comprehensive OpenAPI 3.0 vs 3.1 compatibility tests 2025-07-03 20:55:32 -04:00
__init__.py restore 1.x code 2025-04-09 11:54:42 -04:00
test_app_state.py Update docs and test 2025-06-20 13:06:48 -04:00
test_auth_integration.py Add audio support 2025-06-14 08:59:48 -04:00
test_context.py Fix formatting per pre-commit hooks 2025-06-19 18:22:02 -04:00
test_file_server.py Remove empty parens 2025-06-04 15:37:55 -04:00
test_import_server.py Update all tests 2025-06-27 21:41:37 -04:00
test_logging.py Use anyio.event 2025-05-31 18:12:17 -04:00
test_mount.py Add structured content & update almost all tests 2025-06-27 15:40:52 -04:00
test_proxy.py Add structured content & update almost all tests 2025-06-27 15:40:52 -04:00
test_resource_prefix_formats.py Update tests 2025-06-19 14:05:19 -04:00
test_run_server.py Update tests for prompts 2025-06-04 16:37:41 -04:00
test_server.py Update all tests 2025-06-27 21:41:37 -04:00
test_server_interactions.py Fix schema wrapping for non-object union types in output schemas 2025-06-30 14:12:40 -04:00
test_tool_annotations.py Add structured content & update almost all tests 2025-06-27 15:40:52 -04:00
test_tool_exclude_args.py Add structured content & update almost all tests 2025-06-27 15:40:52 -04:00