private static boolean isStringType(final Class<?> clazz) {
        return CharSequence.class.isAssignableFrom(clazz) || clazz == char.class
                || clazz == Character.class;
    }
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