Skip to content

Commit 6afb385

Browse files
authored
Merge pull request #25 from TaskFlow-CLAP/CLAP-66
CLAP-66 Swagger 의존성 버전 업 및 base package 설정
2 parents 6c76373 + 1e3840e commit 6afb385

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ dependencies {
7373
implementation 'com.google.code.gson:gson:2.11.0'
7474

7575
// Swagger
76-
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.1.0'
76+
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.7.0'
7777

7878
// Email Sender
7979
implementation 'org.springframework.boot:spring-boot-starter-mail'

src/main/java/clap/server/exception/ExceptionAdvice.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
import org.springframework.http.ResponseEntity;
1313
import org.springframework.web.bind.MethodArgumentNotValidException;
1414
import org.springframework.web.bind.annotation.ExceptionHandler;
15-
import org.springframework.web.bind.annotation.RestController;
1615
import org.springframework.web.bind.annotation.RestControllerAdvice;
1716
import org.springframework.web.context.request.ServletWebRequest;
1817
import org.springframework.web.context.request.WebRequest;
@@ -23,7 +22,7 @@
2322
import java.util.Optional;
2423

2524
@Slf4j
26-
@RestControllerAdvice(annotations = {RestController.class})
25+
@RestControllerAdvice(basePackages = {"clap.server.adapter.inbound.web"})
2726
public class ExceptionAdvice extends ResponseEntityExceptionHandler {
2827

2928
@Override

0 commit comments

Comments
 (0)