-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Labels
type: bugSomething isn't workingSomething isn't working
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
In the addCustoms Header method, when obtaining the value of the header, only the basic type is checked. If a string type check is added, when testing the MCP tool, except for string type, numerical and Boolean basic types cannot be replaced with the value of the header.
Expected Behavior
In the addCustoms Header method, when obtaining the value of the header, only the basic type is checked. If a string type check is added, when testing the MCP tool, except for string type, numerical and Boolean basic types cannot be replaced with the value of the header.
Steps To Reproduce
- Convert an existing interface with a header into an MCP tool.
- Test the MCP tool.
- Enter the input parameters as numbers.
- Enter the addCustoms Header method and view the code for replacing header values.
Environment
ShenYu version(s):2.7.1-SNAPSHOTDebug logs
No response
Anything else?
No response
Metadata
Metadata
Assignees
Labels
type: bugSomething isn't workingSomething isn't working