@Override
    public String doGenerate(final List<String> params, final String rule, final MockRequest mockRequest) {
        String rangeData = params.get(0).replaceAll("\\[(.+)]", "$1");
        String[] data = Arrays.stream(rangeData.split("(?<!\\\\),"))
                .map(_data -> _data.replace("\\,", ","))
                .toArray(String[]::new);

        return MockUtil.oneOf(data).toString();
    }
Specify the in-list data generator.
shenyu-plugin/shenyu-plugin-mock/src/main/java/org/apache/shenyu/plugin/mock/generator/RangeDataGenerator.java