public ObjectNode generateSchema(Type mainTargetType, Type... typeParameters) {
        return SchemaBuilder.createSingleTypeSchema(this.config, this.typeContext, mainTargetType, typeParameters);
    }
Generate a {@link JsonNode} containing the JSON Schema representation of the given type.

@param mainTargetType type for which to generate the JSON Schema
@param typeParameters optional type parameters (in case of the {@code mainTargetType} being a parameterised type)
@return generated JSON Schema
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/SchemaGenerator.java