Skip to content

Commit

Permalink
FLASH-247 feat: 회원 탈퇴 swagger 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ChoiWonYu committed Aug 30, 2024
1 parent 32c17be commit 17f2486
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ public ResponseEntity<ConfirmNickNameResponse> confirmNickName(
return ResponseEntity.ok(memberService.confirmNickName(request));
}

@Operation(summary = "회원 탈퇴", description = "회원 탈퇴")
@ApiResponses(value = {
@ApiResponse(responseCode = "200", description = "회원 탈퇴 성공",
content = @Content(mediaType = "application/json", schema = @Schema(implementation = MemberInfoResponse.class)))
})
@DeleteMapping
public ResponseEntity<MemberInfoResponse> deleteMember() {
return ResponseEntity.ok(memberService.deleteMember());
Expand Down

0 comments on commit 17f2486

Please sign in to comment.