mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-23 14:04:18 +02:00
Optimize OpenAPI payload size by 46% (#1452)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
parent
c6768dad5f
commit
dd34846266
10 changed files with 326 additions and 109 deletions
|
|
@ -116,8 +116,10 @@ class TestEndToEndCompatibility:
|
|||
assert legacy_tool.name == new_tool.name
|
||||
assert legacy_tool.name == "get_user"
|
||||
|
||||
# Descriptions should be identical
|
||||
assert legacy_tool.description == new_tool.description
|
||||
# Descriptions may differ (new server has simplified descriptions)
|
||||
# Just check that both have descriptions
|
||||
assert legacy_tool.description
|
||||
assert new_tool.description
|
||||
|
||||
# Input schemas should be identical
|
||||
legacy_schema = legacy_tool.inputSchema
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue