public static ResponseType parseReturnType(final Method method) {
        Type returnType = method.getGenericReturnType();
        return parseType("ROOT", returnType, 0, new HashMap<>(16));
    }
Perhaps a better way is to generate API documentation through OpenAPI annotations.

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