Skip to content

Commit

Permalink
Merge pull request #471 from softeerbootcamp-2nd/feat/be-refactor
Browse files Browse the repository at this point in the history
MAIN MERGE
  • Loading branch information
tank3a committed Aug 28, 2023
2 parents e0b9dd0 + 68bb8fd commit 6c5f50b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
@RestController
@RequiredArgsConstructor
@RequestMapping("api/cars")
@Tag(name = "ColorController", description = "색상 반환 api")
@Tag(name = "색상 정보 관련 API", description = "색상 반환 api")
public class ColorController {

private final ColorService service;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
@RestController
@RequiredArgsConstructor
@RequestMapping("/api/options")
@Tag(name = "옵션", description = "옵션 정보 관련 API")
@Tag(name = "옵션 정보 관련 API", description = "옵션 정보 관련 API")
public class OptionController {

private final OptionService optionService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class QuoteController {
@Operation(summary = "추천 견적 그래프 데이터를 제공하는 API", description = "현재 내 견적과 비교하여 유사한 견적(최대 4개)의 ID와 판매량을 반환하는 API입니다.")
@ApiResponse(responseCode = "200", description = "성공", content = @Content(schema = @Schema(implementation = HistoryShortDto.class)))
@PostMapping("/list")
@Cacheable(value = "recommendList")
// @Cacheable(value = "recommendList")
public HistoryShortDto getRecommendedList(@RequestBody QuoteRequestDto quoteRequestDto) {
HistoryShortDto myQuote = quoteService.getMyQuoteShortData(quoteRequestDto);
List<HistoryShortDto> subList = quoteService.getSuggestedQuoteShortData(quoteRequestDto);
Expand Down

0 comments on commit 6c5f50b

Please sign in to comment.