File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
src/main/java/clap/server/exception Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff 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'
Original file line number Diff line number Diff line change 1212import org .springframework .http .ResponseEntity ;
1313import org .springframework .web .bind .MethodArgumentNotValidException ;
1414import org .springframework .web .bind .annotation .ExceptionHandler ;
15- import org .springframework .web .bind .annotation .RestController ;
1615import org .springframework .web .bind .annotation .RestControllerAdvice ;
1716import org .springframework .web .context .request .ServletWebRequest ;
1817import org .springframework .web .context .request .WebRequest ;
2322import java .util .Optional ;
2423
2524@ Slf4j
26- @ RestControllerAdvice (annotations = {RestController . class })
25+ @ RestControllerAdvice (basePackages = {"clap.server.adapter.inbound.web" })
2726public class ExceptionAdvice extends ResponseEntityExceptionHandler {
2827
2928 @ Override
You can’t perform that action at this time.
0 commit comments