public SchemaGeneratorTypeConfigPart<S> withArrayMaxItemsResolver(ConfigFunction<S, Integer> resolver) {
        this.arrayMaxItemsResolvers.add(resolver);
        return this;
    }
Setter for "maxItems" resolver.

@param resolver how to determine the "maxItems" of a JSON Schema
@return this config part (for chaining)
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/SchemaGeneratorTypeConfigPart.java