posted 6 years ago
I have use spring boot acurator health with spring fox swagger in a spring boot projet. I use below in my Application.java class.
But when I check the swagger ui, I see multiple end points for health with all types of http methods include POST,DELETE, OPTIONS etc. For myservice1 which implement in the REST contoller, it only display the GET method.
This TestMeHealthEndpoint extends AbstractEndpoint and overide invoke method with custom health information.
I only want to see is the GET method for the health route?