1010import com .example .FixLog .service .S3Service ;
1111import com .example .FixLog .service .MemberService ;
1212import com .example .FixLog .domain .member .Member ;
13+ import io .swagger .v3 .oas .annotations .security .SecurityRequirement ;
1314import lombok .RequiredArgsConstructor ;
1415import org .springframework .http .ResponseEntity ;
1516import jakarta .validation .Valid ;
@@ -26,6 +27,7 @@ public class MypageMemberController {
2627 private final MemberService memberService ;
2728 private final S3Service s3Service ;
2829
30+ @ SecurityRequirement (name = "bearerAuth" )
2931 @ PatchMapping ("/members/nickname" )
3032 public ResponseEntity <Response <String >> editNickname (
3133 @ RequestBody @ Valid EditNicknameRequestDto requestDto
@@ -35,6 +37,7 @@ public ResponseEntity<Response<String>> editNickname(
3537 return ResponseEntity .ok (Response .success ("닉네임 수정 성공" , "SUCCESS" ));
3638 }
3739
40+ @ SecurityRequirement (name = "bearerAuth" )
3841 @ PatchMapping ("/members/password" )
3942 public ResponseEntity <Response <String >> editPassword (
4043 @ RequestBody @ Valid EditPasswordRequestDto requestDto
@@ -44,6 +47,7 @@ public ResponseEntity<Response<String>> editPassword(
4447 return ResponseEntity .ok (Response .success ("비밀번호 변경 성공" , "SUCCESS" ));
4548 }
4649
50+ @ SecurityRequirement (name = "bearerAuth" )
4751 @ GetMapping ("/members/profile-image/presign" )
4852 public ResponseEntity <Response <PresignResponseDto >> presignProfileImage (
4953 @ AuthenticationPrincipal Member member ,
@@ -59,6 +63,7 @@ public ResponseEntity<Response<PresignResponseDto>> presignProfileImage(
5963 return ResponseEntity .ok (Response .success ("Presigned URL 발급 성공" , dto ));
6064 }
6165
66+ @ SecurityRequirement (name = "bearerAuth" )
6267 @ PatchMapping ("/members/profile-image" )
6368 public ResponseEntity <Response <String >> updateProfileImageUrl (
6469 @ AuthenticationPrincipal Member member ,
@@ -72,6 +77,7 @@ public ResponseEntity<Response<String>> updateProfileImageUrl(
7277 return ResponseEntity .ok (Response .success ("프로필 이미지 저장 성공" , "SUCCESS" ));
7378 }
7479
80+ @ SecurityRequirement (name = "bearerAuth" )
7581 @ PatchMapping ("/members/bio" )
7682 public ResponseEntity <Response <String >> editBio (
7783 @ RequestBody @ Valid EditBioRequestDto requestDto
0 commit comments