Spring Boot, Actuator, Java, Spring Web, Spring Framework.
@Component public class CustomEndpoint { @ReadOperation public Map<String, String> customEndpoint() { Map<String, String> map = new HashMap<>(); map.put("k1", "v1"); map.put("k2", "v2"); return map; } } I have just returned a dummy key value map in the code as the method logic. Then the endpoint