Skip to content

Conversation

@hermannpencole
Copy link

@hermannpencole hermannpencole commented Oct 16, 2025

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>
@rstoyanchev rstoyanchev self-assigned this Oct 28, 2025
@rstoyanchev rstoyanchev added the in: web Issues in web modules (web, webmvc, webflux, websocket) label Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: web Issues in web modules (web, webmvc, webflux, websocket) status: waiting-for-triage An issue we've not yet triaged or decided on

3 participants