Juergen Eger commited on
Commit
6c500ce
·
1 Parent(s): 0cdb454

fix ruff number 123

Browse files
Files changed (1) hide show
  1. src/fastmcp/server/openapi.py +1 -1
src/fastmcp/server/openapi.py CHANGED
@@ -278,7 +278,7 @@ class OpenAPIResource(Resource):
278
  if "{" in path and "}" in path:
279
  # Extract the resource ID from the URI (the last part after the last slash)
280
  parts = resource_uri.split("/")
281
-
282
  if len(parts) > 1:
283
  # Find all path parameters in the route path
284
  path_params = {}
 
278
  if "{" in path and "}" in path:
279
  # Extract the resource ID from the URI (the last part after the last slash)
280
  parts = resource_uri.split("/")
281
+
282
  if len(parts) > 1:
283
  # Find all path parameters in the route path
284
  path_params = {}