You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Spring SDK parameter processors ignore Spring annotation name aliases #7465
The Spring SDK parameter processors read only annotation.value() for Spring MVC annotations. Spring treats value and name as aliases on @RequestParam, @RequestHeader, @PathVariable, and @CookieValue, but the SDK ignores name().
Location
RequestParamParameterProcessor.java:48
RequestHeaderParameterProcessor.java:49
PathVariableParameterProcessor.java:45
CookieValueParameterProcessor.java:52
Impact
Valid client declarations such as @RequestParam(name = "id") or @RequestHeader(name = "X-Auth") fail the SDK processor's non-empty checks or omit the intended data. These annotations are common in Spring code and should behave the same way in the SDK proxy.
Suggested fix
Resolve the effective annotation name from value() or name() for each processor. Add tests for name-only and value-only declarations.
Related existing issues
No duplicate found in the supplied issue and PR snapshots.
Reviewed Revision And Validation
Apache ShenYu 2.7.2-SNAPSHOT, master at a89b6a2. Severity: medium. Confidence: high.
Current Spring SDK annotation processor harness tested name-only annotations; source caller uses parameter annotations.
Activity
github-actions commentedon Oct 7, 2026
👋 Hello @Aias00
A new issue has been opened by @Aias00:
Please review when you have time. Thank you! 🙏
fix(sdk): resolve Spring annotation name aliases in parameter process…