title: How to override spring boot health endpoint with custom values?
body: <p>I want to override the Spring boot Health endpoint with custom json response.
  I tried with <code>public class MyHealth implements HealthIndicator</code> but that was return some values wrap with myHealth object</p>
  
  <p>this is actually i got after implementation </p>
  
  <pre><code>{
    "status": "UP",
    "myHealth": {
      "name": "Integration Service",
      "version": "1.0",
      "_links": {
        "self": {
          "href": "http://localhost:8083/health"
        }
      }
    }
  }
  </code></pre>
  
  <p>But this is i actually i want as output</p>
  
  <pre><code>{
    "name": "Integration Service",
    "version": "1.0",
    "status": "UP",
    "_links": {
      "self": {
        "href": "http://localhost:8083/health"
      }
    }
  }
  </code></pre>