File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
springdoc-openapi-ui/src/main/java/org/springdoc/ui Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change 4
4
import org .springframework .boot .autoconfigure .condition .ConditionalOnProperty ;
5
5
import org .springframework .context .annotation .Bean ;
6
6
import org .springframework .context .annotation .Configuration ;
7
- import org .springframework .web .servlet .config .annotation .EnableWebMvc ;
8
7
import org .springframework .web .servlet .config .annotation .ResourceHandlerRegistry ;
9
8
import org .springframework .web .servlet .config .annotation .WebMvcConfigurerAdapter ;
10
9
13
12
14
13
15
14
@ Configuration
16
- @ EnableWebMvc
17
15
@ ConditionalOnProperty (name = SPRINGDOC_SWAGGER_UI_ENABLED , matchIfMissing = true )
18
16
@ SuppressWarnings ("deprecation" )
19
17
public class SwaggerConfig extends WebMvcConfigurerAdapter { // NOSONAR
You can’t perform that action at this time.
0 commit comments