File tree 2 files changed +3
-0
lines changed
src/main/java/org/springdoc/groovy
2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 17
17
<dependency >
18
18
<groupId >org.codehaus.groovy</groupId >
19
19
<artifactId >groovy</artifactId >
20
+ <optional >true</optional >
20
21
</dependency >
21
22
<dependency >
22
23
<groupId >org.springdoc</groupId >
Original file line number Diff line number Diff line change 29
29
import org .springdoc .core .providers .ObjectMapperProvider ;
30
30
31
31
import org .springframework .boot .autoconfigure .condition .ConditionalOnBean ;
32
+ import org .springframework .boot .autoconfigure .condition .ConditionalOnClass ;
32
33
import org .springframework .boot .autoconfigure .condition .ConditionalOnProperty ;
33
34
import org .springframework .context .annotation .Bean ;
34
35
import org .springframework .context .annotation .Configuration ;
43
44
@ Lazy (false )
44
45
@ Configuration (proxyBeanMethods = false )
45
46
@ ConditionalOnProperty (name = SPRINGDOC_ENABLED , matchIfMissing = true )
47
+ @ ConditionalOnClass (MetaClass .class )
46
48
@ ConditionalOnBean (SpringDocConfiguration .class )
47
49
public class SpringDocGroovyConfiguration {
48
50
You can’t perform that action at this time.
0 commit comments