fastmcp/tests/utilities/openapi
Kakarlamudi Venkata Dhanush 042db1d0e3
Fix OpenAPI 3.0 nullable fields in tool input schemas (#3768)
* Fix OpenAPI 3.0 nullable fields leaking into tool input schemas

* fix: convert nullable fields in input schemas and fix recursion

* Fix unused loop variable in OpenAPI converter

* Refactor OpenAPI nullable conversion and add tests

* Clean up and add integration tests for nullable input schemas

---------

Co-authored-by: Jeremiah Lowin <153965+jlowin@users.noreply.github.com>
2026-04-07 18:09:26 -04:00
..
__init__.py Switch to new OpenAPI parser as default (#2513) 2025-12-01 20:29:18 -05:00
conftest.py Switch to new OpenAPI parser as default (#2513) 2025-12-01 20:29:18 -05:00
test_allof_requestbody.py Switch to new OpenAPI parser as default (#2513) 2025-12-01 20:29:18 -05:00
test_circular_references.py Split large test files to comply with loq line limit (#3328) 2026-02-28 11:21:11 -05:00
test_direct_array_schemas.py Switch to new OpenAPI parser as default (#2513) 2025-12-01 20:29:18 -05:00
test_director.py fix: serialize object query params per OpenAPI style/explode rules (#3662) 2026-03-27 21:42:36 -04:00
test_legacy_compatibility.py Switch to new OpenAPI parser as default (#2513) 2025-12-01 20:29:18 -05:00
test_models.py Add CIMD (Client ID Metadata Document) support for OAuth (#2871) 2026-02-06 13:44:52 -05:00
test_nullable_fields.py Fix OpenAPI 3.0 nullable fields in tool input schemas (#3768) 2026-04-07 18:09:26 -04:00
test_parser.py Switch to new OpenAPI parser as default (#2513) 2025-12-01 20:29:18 -05:00
test_propertynames_ref_rewrite.py OpenAPI: rewrite $ref under propertyNames and patternProperties in _replace_ref_with_defs; add regression test for dict[StrEnum, Model] (#3306) 2026-02-26 16:08:54 -05:00
test_schemas.py Make $ref dereferencing optional via FastMCP(dereference_refs=...) (#3151) 2026-02-11 13:45:37 -05:00
test_transitive_references.py Split large test files to comply with loq line limit (#3328) 2026-02-28 11:21:11 -05:00