diff --git a/src/main/java/zipdabang/server/converter/MemberConverter.java b/src/main/java/zipdabang/server/converter/MemberConverter.java index 10b0d8c..9299997 100644 --- a/src/main/java/zipdabang/server/converter/MemberConverter.java +++ b/src/main/java/zipdabang/server/converter/MemberConverter.java @@ -120,8 +120,8 @@ public static MemberResponseDto.MemberDetailInfoDto memberDetailInfoDto(Member m .build(); } - public static MemberResponseDto.MemberInfoDto toMemberInfoDto(Member member) { - return MemberResponseDto.MemberInfoDto.builder() + public static MemberResponseDto.MemberInfoResponseDto toMemberInfoDto(Member member) { + return MemberResponseDto.MemberInfoResponseDto.builder() .profileUrl(member.getProfileUrl()) .email(member.getEmail()) .memberBasicInfoDto(memberBasicInfoDto(member)) diff --git a/src/main/java/zipdabang/server/web/controller/MemberRestController.java b/src/main/java/zipdabang/server/web/controller/MemberRestController.java index 7785f9f..cf0e1a9 100644 --- a/src/main/java/zipdabang/server/web/controller/MemberRestController.java +++ b/src/main/java/zipdabang/server/web/controller/MemberRestController.java @@ -186,11 +186,10 @@ public ResponseDto showMyProfile(@AuthMember @ApiResponse(responseCode = "5000", description = "SERVER ERROR, 백앤드 개발자에게 알려주세요", content = @Content(schema = @Schema(implementation = ResponseDto.class))), }) @GetMapping("/myInfo") - public ResponseDto showMyInfo(@AuthMember Member member) { + public ResponseDto showMyInfo(@AuthMember Member member) { return ResponseDto.of(MemberConverter.toMemberInfoDto(member)); } - //닉네임 중복검사 @Operation(summary = "🎪[figma 회원가입까지 - 닉네임 입력 1,2,3] 닉네임 중복검사 API ✔️", description = "닉네임 중복검사 API입니다.") @ApiResponses({ @@ -239,6 +238,7 @@ public ResponseDto showTerms() { return ResponseDto.of(MemberConverter.toTermsDto(memberService.getAllTerms())); } + @Operation(summary = "🎪figma[온보딩1] 나중에 로그인하기 API ✔️", description = "나중에 로그인하기 API 입니다.") @ApiResponses({ @ApiResponse(responseCode = "2000",description = "OK 성공, access Token 하나만 반환함"), diff --git a/src/main/java/zipdabang/server/web/dto/responseDto/MemberResponseDto.java b/src/main/java/zipdabang/server/web/dto/responseDto/MemberResponseDto.java index 6a3fd66..664f44a 100644 --- a/src/main/java/zipdabang/server/web/dto/responseDto/MemberResponseDto.java +++ b/src/main/java/zipdabang/server/web/dto/responseDto/MemberResponseDto.java @@ -74,7 +74,7 @@ public static class MemberDetailInfoDto{ @Getter @AllArgsConstructor(access = AccessLevel.PROTECTED) @NoArgsConstructor(access = AccessLevel.PROTECTED) - public static class MemberInfoDto { + public static class MemberInfoResponseDto { private String profileUrl; private String email; private MemberBasicInfoDto memberBasicInfoDto; diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index b2311ac..5dd9984 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -17,11 +17,11 @@ spring: redis: host: zipdabang-redis.osattk.ng.0001.apn2.cache.amazonaws.com - batch: - jdbc: - initialize-schema: always - job: - names: myJob + batch: + jdbc: + initialize-schema: always + job: + names: myJob jpa: properties: