private static Pair<Boolean, Annotation[][]> isQuery(final Method method) {
        Annotation[][] parameterAnnotations = method.getParameterAnnotations();
        for (Annotation[] parameterAnnotation : parameterAnnotations) {
            if (parameterAnnotation.length > 0 && isQueryName(parameterAnnotation[0].annotationType().getName(), QUERY_CLASSES)) {
                return Pair.of(true, parameterAnnotations);
            }
            return Pair.of(false, null);
        }
        return Pair.of(false, null);
    }
generateDocumentParameters.

@param path   the api path
@param method the method
@return documentParameters
shenyu-client/shenyu-client-core/src/main/java/org/apache/shenyu/client/core/utils/OpenApiUtils.java