Skip to content

[Bug]: Resources - All data going into content #352

@madhav165

Description

@madhav165

🐞 Bug Summary

  • When a resource is added from UI and viewed - all the content is shown in the content section.
  • When editing resources, new fields are added and nested into the content again.

🧩 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

  1. Add resource
  2. View resource - name, uri, so on shown in content as JSON
  3. Edit resource and save
  4. View resource again - Updated fields are again shown in nested JSON in content

🤔 Expected Behavior

What should have happened instead?

  • Only content should be shown in content
  • Editing fields should not nest into content

📓 Logs / Error Output

Paste any relevant stack traces or logs here.
⚠️ Do not paste secrets, credentials, or tokens.


Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedExtra attention is neededtriageIssues / Features awaiting triage

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions