diff --git a/src/main/java/com/example/helloworldmvc/converter/MyPageConverter.java b/src/main/java/com/example/helloworldmvc/converter/MyPageConverter.java index b7d66ec..99f7c5d 100644 --- a/src/main/java/com/example/helloworldmvc/converter/MyPageConverter.java +++ b/src/main/java/com/example/helloworldmvc/converter/MyPageConverter.java @@ -72,8 +72,9 @@ public static MyPageResponseDTO.DetailSummaryRes toDetailSummaryRes(Summary summ .uploadedAt(summary.getUpdateAt()) .name(user.getName()) .userImg(userImg) + .title(summary.getTitle()) .chatSummary(summary.getChatSummary()) - .mainPoint(summary.getMainPoint()) +// .mainPoint(summary.getMainPoint()) .roomId(summary.getRoomId()) .build(); } diff --git a/src/main/java/com/example/helloworldmvc/web/controller/MyPageController.java b/src/main/java/com/example/helloworldmvc/web/controller/MyPageController.java index b09d11a..1c89299 100644 --- a/src/main/java/com/example/helloworldmvc/web/controller/MyPageController.java +++ b/src/main/java/com/example/helloworldmvc/web/controller/MyPageController.java @@ -54,7 +54,7 @@ public ApiResponse getMyPage(@RequestHeader("Aut } @GetMapping("/allSummary") - @Operation(summary = "전체 상담 조회 API", description = "(외국인)내 전체 상담 조회 화면 API입니다.") + @Operation(summary = "채팅 요약 전체 보기 API", description = "채팅 요약 전체 보기 API입니다.") @ApiResponses({ @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "COMMON200", description = "OK, 성공"), @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "USER4001", description = "사용자를 찾을수 없습니다.") @@ -73,7 +73,7 @@ public ApiResponse getAllSummary(@RequestHeader("Authorization") String acces } @GetMapping("/detailSummary") - @Operation(summary = "채팅 상담 요약 상세 보기 API", description = "채팅 상담 요약 상세 보기 화면 API입니다.") + @Operation(summary = "채팅 요약 상세 보기 API", description = "채팅 요약 상세 보기 화면 API입니다.") @ApiResponses({ @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "COMMON200", description = "OK, 성공"), @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "USER4001", description = "사용자를 찾을수 없습니다.") diff --git a/src/main/java/com/example/helloworldmvc/web/dto/MyPageResponseDTO.java b/src/main/java/com/example/helloworldmvc/web/dto/MyPageResponseDTO.java index 8c2ce7c..299047a 100644 --- a/src/main/java/com/example/helloworldmvc/web/dto/MyPageResponseDTO.java +++ b/src/main/java/com/example/helloworldmvc/web/dto/MyPageResponseDTO.java @@ -50,6 +50,7 @@ public static class DetailSummaryRes{ Long summaryId; String identificationNum; LocalDateTime uploadedAt; + String title; String name; String userImg; String chatSummary;