Complete the code to enable the Spring Boot info endpoint.
management.endpoints.web.exposure.include=[1]The info endpoint must be included to enable it in Spring Boot actuator.
Complete the code to add custom info properties in application.properties.
info.app.name=[1]Setting info.app.name to a string like 'MyApp' adds custom info data.
Fix the error in the YAML config to expose the info endpoint.
management:
endpoints:
web:
exposure:
include: [1]In YAML, the value should be a plain string info to expose only the info endpoint.
Fill both blanks to configure info endpoint exposure and add a custom property.
management.endpoints.web.exposure.include=[1] info.app.version=[2]
Expose the info endpoint and set a custom version string.
Fill all three blanks to expose info and health endpoints and add custom info properties.
management.endpoints.web.exposure.include=[1] info.app.name=[2] info.app.description=[3]
Expose both info and health endpoints and add name and description info properties.
