Spring boot 如何在没有覆盖的情况下自定义spring boot actuator端点标头

Spring boot 如何在没有覆盖的情况下自定义spring boot actuator端点标头,spring-boot,Spring Boot,如何在没有覆盖的情况下自定义spring boot actuator端点标头名称 我可以通过下面的方法重命名URL endpoints.info.id=gitInfo 但我不知道如何自定义标题

如何在没有覆盖的情况下自定义spring boot actuator端点标头名称

我可以通过下面的方法重命名URL endpoints.info.id=gitInfo 但我不知道如何自定义标题