Skip to content

Commit

Permalink
chore: signup, signin 주소 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
summit45 committed Nov 16, 2023
1 parent c444482 commit a951854
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/kusitms/jipbap/auth/AuthController.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ public class AuthController {
private final AuthService authService;

@Operation(summary = "일반 회원 가입")
@PostMapping("/signUp")
@PostMapping("/signup")
@ResponseStatus(HttpStatus.OK)
public CommonResponse<String> signUp(@Valid @RequestBody SignUpRequestDto dto) {
authService.signUp(dto);
return new CommonResponse<>("회원가입 성공");
}

@Operation(summary = "로그인")
@PostMapping("/signIn")
@PostMapping("/signin")
@ResponseStatus(HttpStatus.OK)
public CommonResponse<SignInResponseDto> signIn(@Valid @RequestBody SignInRequestDto dto) {
return new CommonResponse<>(authService.signIn(dto.getEmail(), dto.getPassword()));
Expand Down

0 comments on commit a951854

Please sign in to comment.