From https://docs.spring.io/spring-framework/reference/integration/rest-clients.html#rest-http-interface, i understood that we have to manually write code to create a proxy that performs requests when the HTTP Interface methods are called. But why not let the spring boot autoconfigure for us?

I would like to suggest introduce an annotation to add on top of the custom interface or let the custom interface extends another spring interface, (similar to a custom interface that extends CrudRepository), such that when it is being scanned, spring boot will auto configure a default proxy for it.

This helps developer to save typing.

Comment From: hannah23280

Close this, as it is duplicate of another existing issue #31337