Clean up Spring REST Docs examples

This commit is contained in:
David Morley
2016-04-15 05:53:48 -05:00
parent 52728c6ef9
commit 46da6af6ba
11 changed files with 108 additions and 550 deletions
@@ -7,10 +7,10 @@ import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping("/rest/api")
public class MyRestController {
@RequestMapping(method=RequestMethod.GET)
public String index() {
return "Hello";
}
@RequestMapping(method = RequestMethod.GET)
public String index() {
return "Hello";
}
}