diff --git a/src/main/java/fr/icdc/ebad/config/apidoc/CustomSpringDocDataRestConfiguration.java b/src/main/java/fr/icdc/ebad/config/apidoc/CustomSpringDocDataRestConfiguration.java index a3754ce2..e75efe5a 100644 --- a/src/main/java/fr/icdc/ebad/config/apidoc/CustomSpringDocDataRestConfiguration.java +++ b/src/main/java/fr/icdc/ebad/config/apidoc/CustomSpringDocDataRestConfiguration.java @@ -1,6 +1,7 @@ package fr.icdc.ebad.config.apidoc; import com.querydsl.core.types.Predicate; +import org.springdoc.core.SpringDocConfigProperties; import org.springdoc.core.customizers.DataRestDelegatingMethodParameterCustomizer; import org.springdoc.core.customizers.DelegatingMethodParameterCustomizer; import org.springdoc.core.providers.RepositoryRestConfigurationProvider; @@ -62,7 +63,7 @@ class QuerydslProvider { QuerydslPredicateOperationCustomizer queryDslQuerydslPredicateOperationCustomizer(Optional querydslBindingsFactory) { if (querydslBindingsFactory.isPresent()) { getConfig().addRequestWrapperToIgnore(Predicate.class); - return new QuerydslPredicateOperationCustomizer(querydslBindingsFactory.get()); + return new QuerydslPredicateOperationCustomizer(querydslBindingsFactory.get(), new SpringDocConfigProperties()); } return null; }