mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-24 18:29:03 +00:00
Previously, MockRestServiceServerAutoConfiguration unconditionally defined its beans, preventing the user from providing an alternative. This commit adds @ConditionalOnMissingBean to ensure the auto-configuration backs off when a user-provided alternatives are present. See gh-48825 Signed-off-by: HuitaePark <qkrgmlxo3174@gmail.com>