From f736bc9bbac61482576eb88b9875e9e27f56858f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Aug 2024 15:56:55 +0000 Subject: [PATCH 1/2] build(deps): bump org.springdoc:springdoc-openapi-data-rest Bumps org.springdoc:springdoc-openapi-data-rest from 1.7.0 to 1.8.0. --- updated-dependencies: - dependency-name: org.springdoc:springdoc-openapi-data-rest dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b7ec6b4..68aa8f8 100644 --- a/pom.xml +++ b/pom.xml @@ -404,7 +404,7 @@ org.springdoc springdoc-openapi-data-rest - 1.7.0 + 1.8.0 org.springframework.boot From d61e7d63f6c77cfc7222839b0a1c21f0a5fa058c Mon Sep 17 00:00:00 2001 From: Damien Trouillet Date: Thu, 1 Aug 2024 18:37:08 +0200 Subject: [PATCH 2/2] fix(): fix spring data --- .../config/apidoc/CustomSpringDocDataRestConfiguration.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 a3754ce..e75efe5 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; }