We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d4bdb2 commit 64f4df3Copy full SHA for 64f4df3
1 file changed
src/mcp_server_obp/server.py
@@ -235,7 +235,10 @@ async def call_obp_api(
235
path = endpoint.path
236
if path_params:
237
for key, value in path_params.items():
238
+ # OBP index stores path params as bare names (e.g. USER_ID),
239
+ # but OpenAPI standard uses {USER_ID}. Handle both.
240
path = path.replace(f"{{{key}}}", str(value))
241
+ path = path.replace(key, str(value))
242
243
# Replace VERSION placeholder
244
path = path.replace("VERSION", api_version)
0 commit comments