public SchemaGeneratorConfigPart<M> withTargetTypeOverridesResolver(ConfigFunction<M, List<ResolvedType>> resolver) {
        this.targetTypeOverridesResolvers.add(resolver);
        return this;
    }
Setter for target type resolver, expecting the respective member as input. Allowing for multiple alternative types to be returned.
<br>
For generally replacing one type with one or multiple of its subtypes, you may want to consider adding a {@link SubtypeResolver} via
{@link SchemaGeneratorConfigBuilder#forTypesInGeneral() forTypesInGeneral()} instead.

@param resolver how to determine the alternative target types
@return this config part (for chaining)
@see SchemaGeneratorGeneralConfigPart#withSubtypeResolver(SubtypeResolver)
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/SchemaGeneratorConfigPart.java