Skip to content

Commit

Permalink
refactor: 이메일 찾기, 비밀번호 찾기 API URL 수정(#28)
Browse files Browse the repository at this point in the history
불필요한 help 경로 URL에서 제외
  • Loading branch information
Minjae-An committed Mar 30, 2024
1 parent 579ec73 commit 0a0564c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public ResponseEntity<CustomResponse<UserJoinResponse>> join(

@Operation(summary = "이메일 찾기 인증 코드 sms 전송", description = "이메일 찾기를 위한 인증번호 sms 전송을 요청합니다.")
@ApiResponse(responseCode = "202", description = "전화번호 인증 코드 전송 성공")
@PostMapping("/users/help/email-inquiry/verification-code")
@PostMapping("/users/email-inquiry/verification-code")
public ResponseEntity<CustomResponse<Void>> verifyPhoneNumber(
@Valid @RequestBody UserVerificationCodeRequest request) {

Expand All @@ -56,7 +56,7 @@ public ResponseEntity<CustomResponse<Void>> verifyPhoneNumber(

@Operation(summary = "이메일 찾기", description = "인증 코드를 바탕으로 아이디를 찾을 수 있습니다.")
@ApiResponse(responseCode = "200", description = "아이디 찾기 정상 처리")
@PostMapping("/users/help/email-inquiry")
@PostMapping("/users/email-inquiry")
public ResponseEntity<CustomResponse<UserEmailInquiryResponse>> emailInquiry(
@Valid @RequestBody UserEmailInquiryRequest request) {

Expand All @@ -69,7 +69,7 @@ public ResponseEntity<CustomResponse<UserEmailInquiryResponse>> emailInquiry(

@Operation(summary = "비밀번호 찾기", description = "이메일로 임시 비밀번호를 발급받을 수 있습니다.")
@ApiResponse(responseCode = "202", description = "임시 비밀번호 발급(비밀번호 찾기) 정상 처리")
@PostMapping("/users/help/pw-inquiry")
@PostMapping("/users/pw-inquiry")
public ResponseEntity<CustomResponse<Void>> passwordInquiry(
@RequestBody UserPasswordInquiryRequest request) {

Expand Down

0 comments on commit 0a0564c

Please sign in to comment.