Skip to content

Commit

Permalink
♻️ :: @Valid 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
alsco39 committed May 1, 2023
1 parent 53eeee4 commit 7be22d6
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@ import org.springframework.web.bind.annotation.PostMapping
import org.springframework.web.bind.annotation.RequestBody
import org.springframework.web.bind.annotation.RequestParam
import java.util.UUID
import javax.validation.Valid

@FeignClient(name = "UserClient", url = "\${service.scheme}://\${service.user.host}")
interface UserClient {

@PostMapping("/users/id")
fun getUserInfo(@Valid @RequestBody request: UserInfoRequest): UserInfoResponse
fun getUserInfo(@RequestBody request: UserInfoRequest): UserInfoResponse

@GetMapping("/users/class")
fun getUserInfoByGradeAndClassNum(
Expand Down

0 comments on commit 7be22d6

Please sign in to comment.