π The fast, Pythonic way to build MCP servers and clients.
fix ruff number 123
Juergen Egerba7b44879a71
diff --git a/src/fastmcp/server/openapi.py b/src/fastmcp/server/openapi.pyindex 931edd00b..ea8388ec0 100644--- a/src/fastmcp/server/openapi.py+++ b/src/fastmcp/server/openapi.py@@ -278,7 +278,7 @@ class OpenAPIResource(Resource):if "{" in path and "}" in path:# Extract the resource ID from the URI (the last part after the last slash)parts = resource_uri.split("/")-+if len(parts) > 1:# Find all path parameters in the route pathpath_params = {}