I am using spring boot to make a mock of one of our more complicated services. While all of the standard cases are easily done there is one that is causing me some troubles.
You can create method like this:
@ResponseBody @RequestMapping("/your-url") public String test() { return null; }
you can also change @Controller to @RestController and remove the @ResponseBody