Following the instructions here:
http://www.baeldung.com/swagger-2-documentation-for-spring-rest-api
I added these dependencies to my project:
Add @RequestMapping("/") at the controller level, It works.
@RequestMapping("/")