Merge branch '2.0.x' into 2.1.x
Closes gh-17078
This commit is contained in:
@@ -45,8 +45,7 @@ public class SampleController {
|
||||
@GetMapping(value = "/", produces = MediaType.APPLICATION_JSON_VALUE)
|
||||
@ResponseBody
|
||||
public Map<String, String> hello() {
|
||||
return Collections.singletonMap("message",
|
||||
this.helloWorldService.getHelloMessage());
|
||||
return Collections.singletonMap("message", this.helloWorldService.getHelloMessage());
|
||||
}
|
||||
|
||||
@PostMapping(value = "/", produces = MediaType.APPLICATION_JSON_VALUE)
|
||||
|
||||
Reference in New Issue
Block a user