Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/95 🐛 [FIX] 스웨거 오류로 인한 DTO명 변경 #100

Merged
merged 4 commits into from
Sep 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main/java/zipdabang/server/converter/MemberConverter.java
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,10 @@ public ResponseDto<MemberResponseDto.MemberProfileDto> showMyProfile(@AuthMember
@ApiResponse(responseCode = "5000", description = "SERVER ERROR, 백앤드 개발자에게 알려주세요", content = @Content(schema = @Schema(implementation = ResponseDto.class))),
})
@GetMapping("/myInfo")
public ResponseDto<MemberResponseDto.MemberInfoDto> showMyInfo(@AuthMember Member member) {
public ResponseDto<MemberResponseDto.MemberInfoResponseDto> showMyInfo(@AuthMember Member member) {
return ResponseDto.of(MemberConverter.toMemberInfoDto(member));
}


//닉네임 중복검사
@Operation(summary = "🎪[figma 회원가입까지 - 닉네임 입력 1,2,3] 닉네임 중복검사 API ✔️", description = "닉네임 중복검사 API입니다.")
@ApiResponses({
Expand Down Expand Up @@ -239,6 +238,7 @@ public ResponseDto<MemberResponseDto.TermsListDto> showTerms() {
return ResponseDto.of(MemberConverter.toTermsDto(memberService.getAllTerms()));
}


@Operation(summary = "🎪figma[온보딩1] 나중에 로그인하기 API ✔️", description = "나중에 로그인하기 API 입니다.")
@ApiResponses({
@ApiResponse(responseCode = "2000",description = "OK 성공, access Token 하나만 반환함"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
10 changes: 5 additions & 5 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading