-
Notifications
You must be signed in to change notification settings - Fork 615
[BUG][API]: GET /tools should not require a request body #2848
Copy link
Copy link
Labels
MUSTP1: Non-negotiable, critical requirements without which the product is non-functional or unsafeP1: Non-negotiable, critical requirements without which the product is non-functional or unsafeapiREST API Related itemREST API Related itembugSomething isn't workingSomething isn't working
Milestone
Description
🐞 Bug Summary
Tested on OCP2 QA environment.
GET on /tools should not have a request body
🧩 Affected Component
Select the area of the project impacted:
-
mcpgateway- API -
mcpgateway- UI (admin panel) -
mcpgateway.wrapper- stdio wrapper - Federation or Transports
- CLI, Makefiles, or shell scripts
- Container setup (Docker/Podman/Compose)
- Other (explain below)
🔁 Steps to Reproduce
- Go to https://ocp2.cloud.boomerangplatform.net/qa/mcp-gateway/service/gateway/docs#/Tools/list_tools_tools__get
- Click Try out
- Check Request Body
🤔 Results
Request body is present.
{
"jsonpath": "string",
"mapping": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
}
}
🤔 Expected Behavior
GET should not have a request body.
📓 Logs / Error Output
Paste any relevant stack traces or logs here.
🧠 Environment Info
You can retrieve most of this from the /version endpoint.
| Key | Value |
|---|---|
| Version or commit | 0.128.5 |
| Runtime | Python 3.11 |
| Platform / OS | Linux 4.18.0-372.64.1.el8_6.x86_64 (x86_64) |
| Container | none |
🧩 Additional Context (optional)
Add any configuration details, flags, or related issues.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
MUSTP1: Non-negotiable, critical requirements without which the product is non-functional or unsafeP1: Non-negotiable, critical requirements without which the product is non-functional or unsafeapiREST API Related itemREST API Related itembugSomething isn't workingSomething isn't working