Skip to content

Commit

Permalink
build(deps): bump org.springdoc:springdoc-openapi-data-rest from 1.7.…
Browse files Browse the repository at this point in the history
…0 to 1.8.0 (#504)

* 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] <[email protected]>

* fix(): fix spring data

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Damien Trouillet <[email protected]>
  • Loading branch information
dependabot[bot] and dtrouillet authored Aug 1, 2024
1 parent 75cd94b commit 4caf438
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-data-rest</artifactId>
<version>1.7.0</version>
<version>1.8.0</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -62,7 +63,7 @@ class QuerydslProvider {
QuerydslPredicateOperationCustomizer queryDslQuerydslPredicateOperationCustomizer(Optional<QuerydslBindingsFactory> querydslBindingsFactory) {
if (querydslBindingsFactory.isPresent()) {
getConfig().addRequestWrapperToIgnore(Predicate.class);
return new QuerydslPredicateOperationCustomizer(querydslBindingsFactory.get());
return new QuerydslPredicateOperationCustomizer(querydslBindingsFactory.get(), new SpringDocConfigProperties());
}
return null;
}
Expand Down

0 comments on commit 4caf438

Please sign in to comment.