Skip to content

Commit b573c6a

Browse files
committed
Upgrade to 2.0.1 is breaking when com.fasterxml.jackson.module.kotlin.KotlinModule is not present in classpath. Fixes #2008
1 parent e000d4a commit b573c6a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

springdoc-openapi-starter-common/src/main/java/org/springdoc/core/configuration/SpringDocKotlinConfiguration.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,10 @@ public class SpringDocKotlinConfiguration {
5656
/**
5757
* Instantiates a new Spring doc kotlin configuration.
5858
*
59-
* @param objectMapperProvider the object mapper provider
6059
*/
61-
public SpringDocKotlinConfiguration(ObjectMapperProvider objectMapperProvider) {
60+
public SpringDocKotlinConfiguration() {
6261
getConfig().addRequestWrapperToIgnore(Continuation.class)
6362
.addDeprecatedType(Deprecated.class);
64-
objectMapperProvider.jsonMapper().registerModule(new KotlinModule());
6563
}
6664

6765
/**

0 commit comments

Comments
 (0)