File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
springdoc-openapi-common/src/main/java/org/springdoc/core
main/java/org/springdoc/ui
test/java/test/org/springdoc/ui/app1 Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 27
27
@ Configuration
28
28
@ ConfigurationProperties (prefix = "springdoc.swagger-ui" )
29
29
@ ConditionalOnProperty (name = SPRINGDOC_SWAGGER_UI_ENABLED , matchIfMissing = true )
30
- @ ConditionalOnBean (OpenAPIBuilder .class )
30
+ @ ConditionalOnBean (SpringDocConfiguration .class )
31
31
public class SwaggerUiConfigProperties {
32
32
33
33
public static final String CONFIG_URL_PROPERTY = "configUrl" ;
Original file line number Diff line number Diff line change 1
1
package org .springdoc .ui ;
2
2
3
- import org .springdoc .core .OpenAPIBuilder ;
3
+ import org .springdoc .core .SpringDocConfiguration ;
4
4
import org .springframework .beans .factory .annotation .Value ;
5
5
import org .springframework .boot .autoconfigure .condition .ConditionalOnBean ;
6
6
import org .springframework .boot .autoconfigure .condition .ConditionalOnProperty ;
15
15
16
16
@ Configuration
17
17
@ ConditionalOnProperty (name = SPRINGDOC_SWAGGER_UI_ENABLED , matchIfMissing = true )
18
- @ ConditionalOnBean (OpenAPIBuilder .class )
18
+ @ ConditionalOnBean (SpringDocConfiguration .class )
19
19
@ SuppressWarnings ("deprecation" )
20
20
public class SwaggerConfig extends WebMvcConfigurerAdapter { // NOSONAR
21
21
Original file line number Diff line number Diff line change 5
5
import org .springframework .test .web .servlet .MvcResult ;
6
6
import test .org .springdoc .ui .AbstractSpringDocTest ;
7
7
8
- import static org .hamcrest .CoreMatchers .equalTo ;
9
8
import static org .junit .Assert .assertTrue ;
10
9
import static org .springframework .test .web .servlet .request .MockMvcRequestBuilders .get ;
11
- import static org .springframework .test .web .servlet .result .MockMvcResultMatchers .jsonPath ;
12
10
import static org .springframework .test .web .servlet .result .MockMvcResultMatchers .status ;
13
11
14
12
@ SpringBootTest (properties = {
You can’t perform that action at this time.
0 commit comments