Published on

Seeing All REST Endpoints Exposed in a Spring Boot App


It is really useful being able to see what REST endpoints that have been exposed by your app. With Spring Boot and Actuator, this is simple.

Assuming you have Actuator activated you simply hit the actuator endpoint /actuator/mappings. This will list any endpoints that have been exposed using the @RequestMapping annotation.

This response comes back as a REST response. If you use Firefox this is parsed nicely and is easily searchable.

More details on how to expose these endpoints as well as what other endpoints are available (with descriptions of these endpoints) can be found here.