@Override
	public Map getHandlerMethods() {
		handlerMappingList = getHandlerMappingList();
		return handlerMappingList.stream().filter(RequestMappingInfoHandlerMapping.class::isInstance)
				.flatMap(
						handler -> ((RequestMappingInfoHandlerMapping) handler).getHandlerMethods().entrySet().stream())
				.filter(entry -> !entry.getValue().getBeanType().getName().startsWith(SPRING_DATA_REST_PACKAGE) && AnnotatedElementUtils.hasAnnotation(entry.getValue().getBeanType(), BasePathAwareController.class))
				.collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue));
	}
Gets handler methods.

@return the handler methods
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/providers/SpringRepositoryRestResourceProvider.java