public SchemaGeneratorGeneralConfigPart withSubtypeResolver(SubtypeResolver subtypeResolver) {
        this.subtypeResolvers.add(subtypeResolver);
        return this;
    }
Adding a subtype resolver - if it returns null for a given type, the next subtype resolver will be applied.
<br>
If all subtype resolvers return null, there is none or a resolver returns an empty list, then the standard behaviour applies.

@param subtypeResolver resolver for looking up a declared type's subtypes in order to list those specifically
@return this builder instance (for chaining)
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/SchemaGeneratorGeneralConfigPart.java