It would be good to be able to run the HTTP endpoint once and let the clients pick the output format, either via HTTP headers or a URL parameter, e.g. http://localhost:8080/healthz?format=json
That way you'd need to run only one endpoint and use it for machine-friendly healthchecks (JSON), human validation (rspecish), CI jobs (JUnit), etc.
It would be good to be able to run the HTTP endpoint once and let the clients pick the output format, either via HTTP headers or a URL parameter, e.g.
http://localhost:8080/healthz?format=jsonThat way you'd need to run only one endpoint and use it for machine-friendly healthchecks (JSON), human validation (rspecish), CI jobs (JUnit), etc.