Skip to content

Commit

Permalink
♻️ refactor: 로그아웃 스웨거용 컨트롤러 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
jinho7 committed Jul 9, 2024
1 parent f61673f commit bf5f80a
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,15 @@ public ApiResponse<String> deleteUser(@AuthUser User user) {
}


//Swagger용 가짜 컨트롤러
@Operation(summary = "로그인", description = "사용자 로그인을 수행합니다. (Swagger 문서용)")
@PostMapping("/login")
public ApiResponse<JwtDto> login(@RequestBody UserReqDto.LoginRequestDto loginRequestDto) {
return null;
return null; // 실제 구현은 Spring Security에서 처리
}

@Operation(summary = "로그아웃", description = "사용자 로그아웃을 수행합니다. (Swagger 문서용)")
@PostMapping("/logout")
public ApiResponse<Void> logout() {
return null; // 실제 구현은 Spring Security에서 처리
}
}

0 comments on commit bf5f80a

Please sign in to comment.