mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 20:19:06 +00:00
Update `RestClientAutoConfiguration` to ensure that it applies after `HttpMessageConvertersAutoConfiguration`. Prior to this commit, the `HttpMessageConvertersRestClientCustomizer` bean might not get created due to the `@ConditionalOnBean` guard not finding any `ClientHttpMessageConvertersCustomizer` beans. Since the issue is surprising hard to replicate in a unit test, a new smoke test has been added to ensure the problem doesn't return. Fixes gh-49223