I just add a spring-boot-starter-actuator dependency to pom.xml of my application. After building and running project, /health endpoint showing the next information:
{
"status": "UP",
"details": {
"application": {
"status": "UP"
}
},
"application": {
"status": "UP"
}
}
How can I remove the "details" section from response?