@Deprecated
    public SchemaGeneratorConfigPart<M> withTargetTypeOverrideResolver(ConfigFunction<M, ResolvedType> resolver) {
        this.targetTypeOverridesResolvers.add(member -> Optional.ofNullable(resolver.apply(member)).map(Collections::singletonList).orElse(null));
        return this;
    }
Setter for target type resolver, expecting the respective member as input. NOTE: there is an alternative method allowing for multiple
type overrides at once: {@link #withTargetTypeOverridesResolver(ConfigFunction)}
<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 type
@return this config part (for chaining)
@see SchemaGeneratorGeneralConfigPart#withSubtypeResolver(SubtypeResolver)
@deprecated use {@link #withTargetTypeOverridesResolver(ConfigFunction)} instead
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/SchemaGeneratorConfigPart.java