Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
- import org.springframework.web.bind.annotation.RequestMapping;
- import org.springframework.web.bind.annotation.RestController;
- @RestController
- @EnableAutoConfiguration
- public class controllerDepo {
- @RequestMapping("/lista")
- public String home() {
- return "hola";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement