Spaces:
Sleeping
Sleeping
Commit History
-
Fix nullable field handling in OpenAPI to JSON Schema conversion (#1279)
Jeremiah Lowin +1: ClaudeUnverified signatureCo-authored-by: Claude <noreply@anthropic.com>c4df749
-
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
-
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
-
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
-
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
-
openapi: Rewrite recursive #/components/schemas/ references
When a schema referenced another schema as #/components/schemas/... that wasn't properly rewritten into #/$defs/..d958edd
-
Make sure tests are atomic
Jeremiah Lowin9522dfa -
add tests for _replace_ref_with_defs
ShiWei73c6a92 -
replace nested requestBody's #/components/ with
ShiWeife73cad
-
Pass client headers through to OpenAPI client
Jeremiah Lowinac33644
-
Add reprs for OpenAPI objects
Jeremiah Lowine1a4799
-
Support openapi 3.0 and 3.1
Jeremiah Lowin4c324f7
-
Ensure that openapi tags are transferred to MCP objects
Jeremiah Lowin9822b73
-
use type
zzstoatzz9cc5eae
-
Add OpenAPI server and tests
Jeremiah Lowin96618d0
-
Add openapi parsing utilities
Jeremiah Lowin72648c2