Skip to content

Commit

Permalink
chore: 불필요한 @Valid 어노테이션 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
donghoony committed Aug 6, 2024
1 parent c0a18fc commit 9df82e7
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import io.swagger.v3.oas.annotations.responses.ApiResponse;
import io.swagger.v3.oas.annotations.responses.ApiResponses;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.validation.Valid;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
Expand All @@ -20,7 +19,7 @@ public interface ReviewApi {
@ApiResponses(value = {
@ApiResponse(responseCode = "201", description = "리뷰 등록 요청 성공")
})
ResponseEntity<Void> createReview(@Valid @RequestBody CreateReviewRequest request);
ResponseEntity<Void> createReview(@RequestBody CreateReviewRequest request);

@Operation(summary = "리뷰 작성 정보 조회", description = "리뷰 생성 시 필요한 정보를 조회한다.")
@ApiResponses(value = {
Expand Down

0 comments on commit 9df82e7

Please sign in to comment.