File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/configuration
springdoc-openapi-kotlin-webflux-tests
springdoc-openapi-kotlin-webmvc-tests Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 4
4
import org .springdoc .core .properties .SpringDocConfigProperties ;
5
5
import org .springdoc .core .providers .ObjectMapperProvider ;
6
6
7
+ import org .springframework .boot .autoconfigure .condition .ConditionalOnBean ;
7
8
import org .springframework .boot .autoconfigure .condition .ConditionalOnClass ;
8
9
import org .springframework .boot .autoconfigure .condition .ConditionalOnExpression ;
9
10
import org .springframework .boot .autoconfigure .condition .ConditionalOnWebApplication ;
22
23
@ ConditionalOnClass (KotlinModule .class )
23
24
@ ConditionalOnExpression ("${springdoc.api-docs.enabled:true} and ${springdoc.enable-kotlin:true}" )
24
25
@ ConditionalOnWebApplication
26
+ @ ConditionalOnBean (SpringDocConfiguration .class )
25
27
class SpringDocJacksonKotlinModuleConfiguration {
26
28
27
29
/**
Original file line number Diff line number Diff line change 17
17
<module >springdoc-openapi-function-webflux-tests</module >
18
18
<module >springdoc-openapi-actuator-webflux-tests</module >
19
19
<module >springdoc-openapi-actuator-webmvc-tests</module >
20
- <module >springdoc-openapi-kotlin-tests</module >
21
- <module >springdoc-openapi-kotlin-mvc -tests</module >
20
+ <module >springdoc-openapi-kotlin-webflux- tests</module >
21
+ <module >springdoc-openapi-kotlin-webmvc -tests</module >
22
22
<module >springdoc-openapi-hateoas-tests</module >
23
23
<module >springdoc-openapi-data-rest-tests</module >
24
24
</modules >
Original file line number Diff line number Diff line change 5
5
<version >2.3.1-SNAPSHOT</version >
6
6
</parent >
7
7
<modelVersion >4.0.0</modelVersion >
8
- <artifactId >springdoc-openapi-kotlin-tests</artifactId >
8
+ <artifactId >springdoc-openapi-kotlin-webflux- tests</artifactId >
9
9
10
10
<dependencies >
11
11
<dependency >
Original file line number Diff line number Diff line change 5
5
<version >2.3.1-SNAPSHOT</version >
6
6
</parent >
7
7
<modelVersion >4.0.0</modelVersion >
8
- <artifactId >springdoc-openapi-kotlin-mvc -tests</artifactId >
8
+ <artifactId >springdoc-openapi-kotlin-webmvc -tests</artifactId >
9
9
10
10
<dependencies >
11
11
<dependency >
You can’t perform that action at this time.
0 commit comments