Skip to content

Commit 85cfc0a

Browse files
committed
fix: fix usage of deprecated adapter
1 parent 0a8150b commit 85cfc0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

springdoc-openapi-ui/src/main/java/org/springdoc/webmvc/ui/SwaggerWebMvcConfigurer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import org.springdoc.core.providers.ActuatorProvider;
2727

2828
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
29-
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
29+
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
3030

3131
import static org.springdoc.core.Constants.CLASSPATH_RESOURCE_LOCATION;
3232
import static org.springdoc.core.Constants.DEFAULT_WEB_JARS_PREFIX_URL;
@@ -38,7 +38,7 @@
3838
* @author bnasslahsen
3939
*/
4040
@SuppressWarnings("deprecation")
41-
public class SwaggerWebMvcConfigurer extends WebMvcConfigurerAdapter { // NOSONAR
41+
public class SwaggerWebMvcConfigurer implements WebMvcConfigurer { // NOSONAR
4242

4343
/**
4444
* The Swagger path.

0 commit comments

Comments
 (0)