File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
springdoc-openapi-common/src/main/java/org/springdoc/core Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 21
21
import java .util .ArrayList ;
22
22
import java .util .List ;
23
23
24
- import org .springframework .boot .autoconfigure .condition .ConditionalOnProperty ;
24
+ import org .springframework .boot .autoconfigure .condition .ConditionalOnBean ;
25
25
import org .springframework .boot .context .properties .ConfigurationProperties ;
26
26
import org .springframework .context .annotation .Configuration ;
27
27
import org .springframework .http .MediaType ;
28
28
29
- import static org .springdoc .core .Constants .SPRINGDOC_ENABLED ;
30
-
31
29
@ Configuration
32
30
@ ConfigurationProperties (prefix = "springdoc" )
33
- @ ConditionalOnProperty ( name = SPRINGDOC_ENABLED , matchIfMissing = true )
31
+ @ ConditionalOnBean ( SpringDocConfiguration . class )
34
32
public class SpringDocConfigProperties {
35
33
36
34
private boolean showActuator ;
You can’t perform that action at this time.
0 commit comments