Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

Fix duplicate annotation.

Alain IVARS1c23713ea17c
diff --git a/tests/server/test_openapi.py b/tests/server/test_openapi.py
index 3fe54e58e..b7a6df16c 100644
--- a/tests/server/test_openapi.py
+++ b/tests/server/test_openapi.py
@@ -194,7 +194,6 @@ class TestTools:
assert len(tools) == 2
assert tools[0].model_dump() == dict(
- annotations=None,
name="create_user_users_post",
annotations=None,
description=IsStr(regex=r"^Create a new user\..*$", regex_flags=re.DOTALL),
@@ -208,7 +207,6 @@ class TestTools:
},
)
assert tools[1].model_dump() == dict(
- annotations=None,
name="update_user_name_users__user_id__name_patch",
annotations=None,
description=IsStr(