I use spring-mvc to create servlets such as:
@RestController public class MyServlet { @GetMapping("/test") public MyRsp test(MyReq req) {
Now, if the user accesses the root of my localhost:8080/my-app application localhost:8080/my-app , he should show a list of the available GET and POST methods. At best, with possible input parameters, acceptable headers, etc.
Question: is this possible with any spring framework like HATEOAS ?
I would expect the framework to automatically detect any @RestController and included methods.
Or do I need to create this review page?
source share