Skip to content

Conversation

@hermannpencole
Copy link

Title: Add @ModelAttribute support for HTTP interface clients

  • Introduces ModelAttributeArgumentResolver for HttpServiceProxyFactory.
  • Expands @ModelAttribute DTO properties into request parameters (query string).
  • Supports @BindParam on fields to rename parameter keys.

Usage

  • Declare @ModelAttribute on an interface method parameter:
    • @GetExchange("/search") String search(@ModelAttribute SearchCriteria criteria);
    • Produces: /search?q=...&page=...&size=...

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Oct 16, 2025
See spring-projectsgh-32142

Signed-off-by: Hermann Pencole <hermannpencole@yahoo.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged or decided on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants