package org.springframework.issues.config;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class TestController {
@RequestMapping("/hello/{name}")
public String hello(@PathVariable String name) {
return name;
}
}