diff --git a/src/main/java/com/swOnCampus/AIPlatform/domain/consulting/web/controller/ConsultingController.java b/src/main/java/com/swOnCampus/AIPlatform/domain/consulting/web/controller/ConsultingController.java index f2a0052..89bebac 100644 --- a/src/main/java/com/swOnCampus/AIPlatform/domain/consulting/web/controller/ConsultingController.java +++ b/src/main/java/com/swOnCampus/AIPlatform/domain/consulting/web/controller/ConsultingController.java @@ -40,7 +40,7 @@ public class ConsultingController { content = { @Content( schema = @Schema( - implementation = CompanyInfoRequest.class + implementation = ConsultingResponse.class ) ) } @@ -64,24 +64,28 @@ public ResponseEntity> createConsulting( @Operation(summary = "상세 컨설팅 생성 API 요청", description = "요약본이 아닌 전체 컨설팅 정보 생성") @ApiResponses(value = { - @io.swagger.v3.oas.annotations.responses.ApiResponse( - responseCode = "COMMON200", - description = "요청 성공", - content = { - @Content( - schema = @Schema( - implementation = ConsultingAllResponseDto.ConsultingAllResponse.class - ) - ) - } - ) + @io.swagger.v3.oas.annotations.responses.ApiResponse( + responseCode = "COMMON200", + description = "요청 성공", + content = { + @Content( + schema = @Schema( + implementation = ConsultingAllResponseDto.ConsultingAllResponse.class + ) + ) + } + ) }) // 컨설팅 결과 전체 상세 보기 (요약 x) @PostMapping("/all") - public ResponseEntity> getAllConsulting(@LoginMember Member member, @RequestBody ConsultingAllRequestDto.ConsultingAllRequest request){ - ConsultingAllResponseDto.ConsultingAllResponse responseDto = consultingAllService.getConsultingAll(member.getMemberId(), request); + public ResponseEntity> getAllConsulting( + @LoginMember Member member, + @RequestBody ConsultingAllRequestDto.ConsultingAllRequest request) { + ConsultingAllResponseDto.ConsultingAllResponse responseDto = consultingAllService.getConsultingAll( + member.getMemberId(), request); - ApiResponse response = ApiResponse.createSuccess(HttpStatus.OK.value(), responseDto, "컨설팅 세부 정보 불러오기를 완료하였습니다."); + ApiResponse response = ApiResponse.createSuccess( + HttpStatus.OK.value(), responseDto, "컨설팅 세부 정보 불러오기를 완료하였습니다."); return ResponseEntity.ok(response); } }