Skip to content
Snippets Groups Projects
Commit a8de9a6d authored by 정 의찬's avatar 정 의찬
Browse files

ThunderClient Test

parent 5948ccea
Branches
No related tags found
No related merge requests found
package com.example.demo;
package com.example.demo.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class TestController {
@GetMapping(value = "/test")
public UserDto test(){
public UserDto test() {
UserDto dto = new UserDto();
dto.setAge(17);
......@@ -16,5 +19,5 @@ public class TestController {
return dto;
}
}
package com.example.demo;
package com.example.demo.controller;
import lombok.Getter;
import lombok.Setter;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment