code: public static <Param> PathParamSerializer<List<Param>> list(String name,
                                                                  Function<PSequence<String>, Param> deserialize,
                                                                  Function<Param, PSequence<String>> serialize) {
  
          return new NamedPathParamSerializer<List<Param>>("List(" + name + ")") {
              @Override
              public PSequence<String> serialize(List<Param> parameter) {
                  List<String> serializedParams =
                      serializeCollection(parameter, serialize)
                          .collect(Collectors.toList());
                  return TreePVector.from(serializedParams);
              }
  
              @Override
              public List<Param> deserialize(PSequence<String> parameters) {
                  return deserializeCollection(parameters, deserialize).collect(Collectors.toList());
              }
          };
      }
docs: Create a PathParamSerializer for List parameters.