@GetMapping
    public ResponseEntity<Greeting> greetingSync(
            @RequestParam(value = "name", defaultValue = "World") String name) {
        return ResponseEntity.ok(new Greeting(String.format(template, name)));
    }
Greeting endpoint.
@param name name to greet.
@return response the ResponseEntity.
it/spring/boot3-tomcat10/src/main/java/com/linecorp/armeria/spring/tomcat/GreetingController.java