Spaces:
Running
Running
Juergen Eger commited on
Commit ·
0cdb454
1
Parent(s): 5f519d8
fix ruff
Browse files
src/fastmcp/server/openapi.py
CHANGED
|
@@ -296,7 +296,7 @@ class OpenAPIResource(Resource):
|
|
| 296 |
# Ensure we don't use resource identifier as parameter
|
| 297 |
if i < expected_param_count:
|
| 298 |
# Get values from the end of parts
|
| 299 |
-
param_value = parts[-1 -i]
|
| 300 |
path_params[param_name] = param_value
|
| 301 |
|
| 302 |
# Replace path parameters with their values
|
|
|
|
| 296 |
# Ensure we don't use resource identifier as parameter
|
| 297 |
if i < expected_param_count:
|
| 298 |
# Get values from the end of parts
|
| 299 |
+
param_value = parts[-1 - i]
|
| 300 |
path_params[param_name] = param_value
|
| 301 |
|
| 302 |
# Replace path parameters with their values
|