Spaces:
Sleeping
Sleeping
Commit History
-
Fix OpenAPI transitive references and performance (#1372) (#1426)
Jeremiah LowinUnverified signature60e47cc
-
perf: optimize string operations in OpenAPI parameter processing (#1342)
Unverified signature86d067d
-
Optimize _make_optional_parameter_nullable and _adjust_union_types functions (#1321)
Unverified signatureCo-authored-by: chiliu <chiliu@paypal.com>0b67acf -
refactor: standardize logging usage across OpenAPI utilities (#1322)
Unverified signatureCo-authored-by: chiliu <chiliu@paypal.com>e9db9c1
-
Improve OpenAPI-to-JSONSchema conversion utilities (#1283)
Jeremiah LowinUnverified signature4394198 -
Fix nullable field handling in OpenAPI to JSON Schema conversion (#1279)
Jeremiah Lowin +1: ClaudeUnverified signatureCo-authored-by: Claude <noreply@anthropic.com>c4df749
-
Update SDK docs (#1236)
Jeremiah LowinUnverified signature293074b -
Optimize OpenAPI parser performance with single-pass schema processing (#1214)
Jeremiah LowinUnverified signature9e0a59f
-
Introduce experimental OpenAPI parser with improved performance and maintainability (#1209)
Jeremiah LowinUnverified signature8c5bdf2
-
Fix nesting when making OpenAPI arrays and objects optional (#1178)
Martin MelkaUnverified signaturebe25dfa
-
fix: _replace_ref_with_defs; ensure ref_path is string, because some REST servers use "$ref" as property name of schema. (#1164)
itaru2622Unverified signature241bcdf
-
Fix optional parameter validation in OpenAPI integration (#1135)
Jeremiah Lowin +1: ClaudeUnverified signatureCo-authored-by: Claude <noreply@anthropic.com>64a8670
-
fix: replace oneOf with anyOf in OpenAPI schemas to handle overlapping unions (#1119)
Magnus +1: Jeremiah LowinUnverified signatureCo-authored-by: Jeremiah Lowin <153965+jlowin@users.noreply.github.com>dd2c763 -
Fix OpenAPI deepObject style parameter encoding (#1122)
Jeremiah Lowin +1: ClaudeUnverified signature* Fix OpenAPI deepObject style parameter encoding Add support for deepObject style with explode=true to properly serialize object parameters using bracket notation (param[key]=value) instead of JSON strings. Fixes #1114. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Create README_OPENAPI.md --------- Co-authored-by: Claude <noreply@anthropic.com>c21d179
-
Fix OpenAPI parameter name collisions with location suffixing
Jeremiah Lowin +1: ClaudeResolves parameter conflicts when same name appears in path/query/header and request body by adding double underscore suffixes (id__path, id__query). Body parameters keep original names for natural REST API patterns. Closes #1100 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>7004e72
-
Add output schema support for OpenAPI tools (#1073)
Jeremiah Lowin +1: ClaudeUnverified signature* Add output schema support for OpenAPI tools Implement automatic output schema extraction from OpenAPI responses for FastMCP tools, addressing issue #1070. Tools generated from OpenAPI specs now have meaningful output schemas instead of null, improving agent efficiency when working with structured API responses. - Add extract_output_schema_from_responses() function to parse response schemas - Enhance OpenAPITool to accept and use output schemas with proper wrapping - Automatically wrap non-object responses to comply with MCP requirements - Include schema definitions and compress unused ones - Add comprehensive test suite covering object, array, and primitive responses - Update existing tests to handle structured output with proper typing - Maintain backward compatibility for specs without response schemas 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Move output schema tests to dedicated test file Reorganize output schem…53a91d7
-
Refactor array parameter formatting to reduce code duplication
Jeremiah LowinExtract common array formatting logic into format_array_parameter utility function. Addresses automated review feedback about code duplication between path and query parameter handling.71ef915 -
Fix OpenAPI array parameter explode handling
Jeremiah Lowin4a8c120
-
Add OpenAPI extensions support to HTTPRoute
Aditya Bansal- Add extensions field to HTTPRoute class to store x-* fields - Extract extensions from operation's model_extra in parser - Add test to verify extensions are properly parsedc0183df
-
Merge pull request #954 from jlowin/claude-wt-20250625-210215
Jeremiah LowinUnverified signatureFix external schema reference handling in OpenAPI parser05dfb42 -
Fix external schema reference handling in OpenAPI parser
Jeremiah Lowin +1: ClaudePreviously, external schema references (URLs) in OpenAPI schemas were silently passed through and only failed during JSON schema validation with confusing "failed to match exactly one schema" errors. This change: - Detects external references in _replace_ref_with_defs() and raises clear error messages - Updates exception handlers to propagate external reference errors while preserving other error handling - Adds comprehensive test coverage for external reference detection - Provides helpful error messages explaining that FastMCP only supports local schema references Fixes #926 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>80215f2 -
Use proper isinstance(Enum) check instead of hasattr
Jeremiah Lowin +1: ClaudeReplace hasattr(param_in, 'value') with isinstance(param_in, Enum) for more robust enum detection as suggested in review. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>bbf015c -
Fix parameter location enum handling in OpenAPI parser
Jeremiah Lowin +1: ClaudeFixes issue where ParameterLocation enum values from openapi_pydantic were not properly converted to strings, causing validation errors. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>d33e60d
-
openapi: Rewrite recursive #/components/schemas/ references
When a schema referenced another schema as #/components/schemas/... that wasn't properly rewritten into #/$defs/..d958edd
-
Merge pull request #700 from jlowin/transform-tools
Jeremiah LowinUnverified signatureSplit Tool into Tool and FunctionToolbeb2095 -
Split Tool into Tool and FunctionTool
Jeremiah Lowincba81f4 -
set body's description as well
ShiWeib2e733d -
add tests for _replace_ref_with_defs
ShiWei73c6a92 -
replace nested requestBody's #/components/ with
ShiWeife73cad
-
Unify openapi 3.0 and 3.1 parsing
Jeremiah Lowin74f10a8
-
Ensure openapi defs are loaded
Jeremiah Lowin5050a56
-
Update openapi.py
Jeremiah Lowin365b235 -
Update src/fastmcp/utilities/openapi.py
Jeremiah Lowin +1: CopilotUnverified signatureCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>8ebc58d -
add fastapi tests
Jeremiah Lowin42ef098 -
Ensure openapi descriptions are included in tool details
Jeremiah Lowin71d1f33
-
Ensure objects are copied properly and test mounting fastapi
Jeremiah Lowin70f2db7 -
Support openapi 3.0 and 3.1
Jeremiah Lowin4c324f7
-
fix deprecation warnings
zzstoatzz76b8ceb
-
Add fastapi conversion
Jeremiah Lowindc0a2a3 -
Add OpenAPI server and tests
Jeremiah Lowin96618d0
-
Add openapi parsing utilities
Jeremiah Lowin72648c2