Skip to content

[BUG] Do not configure the argsPosition corresponding to the header in the sample test request header in MCP_TOOL_EXAMPLES file as query #6256

@MaMengzhen

Description

@MaMengzhen

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

In the MCP_TOOL_EXAMPLES file, the argsPosition corresponding to the header in the request header test sample is configured as a query. When requesting the API interface, the header information will also be concatenated in the parameters.

Image

Expected Behavior

In the MCP_TOOL_EXAMPLES file, the argsPosition corresponding to the header in the request header test sample is configured as a header. When requesting API interfaces, the header information is not concatenated into the request parameters.

Image

Steps To Reproduce

  1. In the MCP_TOOL_EXAMPLES file, the argsPosition corresponding to the header in the request header test sample is configured as a header.

Environment

ShenYu version(s):2.7.1-SNAPSHOT

Debug logs

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions