mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-10 03:19:01 +00:00
Previously, when the mappings endpoint was not available, the beans that provide mapping descriptions were still created. This resulted in unnecessary CPU and memory usage collecting and storing information that would never by used. This commit updates the auto-configuration for the mappings endpoint so that all the beans that it creates are conditional on the endpoint being available, rather than only the endpoint bean itself. Closes gh-23977