public SchemaGeneratorTypeConfigPart<S> withAdditionalPropertiesResolver(BiFunction<S, SchemaGenerationContext, JsonNode> resolver) {
        this.additionalPropertiesResolvers.add(resolver);
        return this;
    }
Setter for "additionalProperties" resolver. If the returned type is {@link Void} "false" will be set, otherwise an appropriate sub-schema.

@param resolver how to determine the "additionalProperties" of a JSON Schema, returning {@link Void} will result in "false"
@return this config part (for chaining)
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/SchemaGeneratorTypeConfigPart.java