File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
src/main/java/org/springdoc/groovy Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 1717 <dependency >
1818 <groupId >org.codehaus.groovy</groupId >
1919 <artifactId >groovy</artifactId >
20+ <optional >true</optional >
2021 </dependency >
2122 <dependency >
2223 <groupId >org.springdoc</groupId >
Original file line number Diff line number Diff line change 2929import org .springdoc .core .providers .ObjectMapperProvider ;
3030
3131import org .springframework .boot .autoconfigure .condition .ConditionalOnBean ;
32+ import org .springframework .boot .autoconfigure .condition .ConditionalOnClass ;
3233import org .springframework .boot .autoconfigure .condition .ConditionalOnProperty ;
3334import org .springframework .context .annotation .Bean ;
3435import org .springframework .context .annotation .Configuration ;
4344@ Lazy (false )
4445@ Configuration (proxyBeanMethods = false )
4546@ ConditionalOnProperty (name = SPRINGDOC_ENABLED , matchIfMissing = true )
47+ @ ConditionalOnClass (MetaClass .class )
4648@ ConditionalOnBean (SpringDocConfiguration .class )
4749public class SpringDocGroovyConfiguration {
4850
You can’t perform that action at this time.
0 commit comments