Skip to content

Commit 6ac8766

Browse files
committed
Fix typo in SpringRepositoryRestResourceProvider.java. Fixes #2540
1 parent 22e7405 commit 6ac8766

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: springdoc-openapi-starter-common/src/main/java/org/springdoc/core/providers/SpringRepositoryRestResourceProvider.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ private void findSearchResourceMappings(OpenAPI openAPI, List<RouterOperation> r
352352
if (handlerMapping instanceof RepositoryRestHandlerMapping repositoryRestHandlerMapping) {
353353
Map<RequestMappingInfo, HandlerMethod> handlerMethodMap = repositoryRestHandlerMapping.getHandlerMethods();
354354
Map<RequestMappingInfo, HandlerMethod> handlerMethodMapFiltered = handlerMethodMap.entrySet().stream()
355-
.filter(requestMappingInfoHandlerMethodEntry -> REPOSITORY_SERACH_CONTROLLER.equals(requestMappingInfoHandlerMethodEntry
355+
.filter(requestMappingInfoHandlerMethodEntry -> REPOSITORY_SEARCH_CONTROLLER.equals(requestMappingInfoHandlerMethodEntry
356356
.getValue().getBeanType().getName()))
357357
.collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue, (a1, a2) -> a1));
358358
ResourceMetadata metadata = associations.getMetadataFor(dataRestRepository.getDomainType());

0 commit comments

Comments
 (0)