private void findSearchResourceMappings(OpenAPI openAPI, List<RouterOperation> routerOperationList, List<HandlerMapping> handlerMappingList,
			DataRestRepository dataRestRepository, ResourceMetadata resourceMetadata, Associations associations) {
		for (HandlerMapping handlerMapping : handlerMappingList) {
			if (handlerMapping instanceof RepositoryRestHandlerMapping repositoryRestHandlerMapping) {
				Map<RequestMappingInfo, HandlerMethod> handlerMethodMap = repositoryRestHandlerMapping.getHandlerMethods();
				Map<RequestMappingInfo, HandlerMethod> handlerMethodMapFiltered = handlerMethodMap.entrySet().stream()
						.filter(requestMappingInfoHandlerMethodEntry -> REPOSITORY_SEARCH_CONTROLLER.equals(requestMappingInfoHandlerMethodEntry
								.getValue().getBeanType().getName()))
						.collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue, (a1, a2) -> a1));
				ResourceMetadata metadata = associations.getMetadataFor(dataRestRepository.getDomainType());
				if (metadata != null && metadata.isExported()) {
					SearchResourceMappings searchResourceMappings = metadata.getSearchResourceMappings();
					if (searchResourceMappings.isExported()) {
						findSearchControllers(routerOperationList, handlerMethodMapFiltered, resourceMetadata, dataRestRepository, openAPI, searchResourceMappings);
					}
				}
			}
		}
	}
Find search resource mappings.

@param openAPI             the open api
@param routerOperationList the router operation list
@param handlerMappingList  the handler mapping list
@param dataRestRepository  the repository data rest
@param resourceMetadata    the resource metadata
@param associations        the associations
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/providers/SpringRepositoryRestResourceProvider.java