Skip to content

Commit

Permalink
[delete] BookRequestValidate 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
chanwoo7 committed Aug 9, 2024
1 parent 541abb4 commit 778808b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 30 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.book.backend.domain.book.controller;

import com.book.backend.domain.book.service.BookRequestValidate;
import com.book.backend.domain.book.service.BookService;

import com.book.backend.domain.openapi.dto.response.LoanItemSrchResponseDto;
Expand Down Expand Up @@ -38,7 +37,6 @@
@Slf4j
public class BookController {
private final BookService bookService;
private final BookRequestValidate bookRequestValidate;
private final ResponseTemplate responseTemplate;
private final RequestValidate requestValidate;

Expand All @@ -50,7 +48,7 @@ public class BookController {
@GetMapping("/recommend")
public ResponseEntity<?> recommend(@RequestParam String isbn) throws Exception {
RequestLogger.param(new String[]{"isbn"}, isbn);
bookRequestValidate.isValidIsbn(isbn);
requestValidate.isValidIsbn(isbn);

RecommendListRequestDto requestDto = RecommendListRequestDto.builder().isbn13(isbn).build();
LinkedList<RecommendListResponseDto> response = bookService.recommend(requestDto);
Expand Down

This file was deleted.

0 comments on commit 778808b

Please sign in to comment.