AbstractSchemaGenerator
abstract class AbstractSchemaGenerator<T : Any, R : Any>(introspector: SchemaIntrospector<T>, typeGraphTransformer: TypeGraphTransformer<R>) : SchemaGenerator<T, R> (source)
Abstract base class for generating schemas by combining introspection and representation logic.
Parameters
T
the type of the object for which the schema is being generated
R
the type of the resulting schema representation
Functions
Link copied to clipboard
Serializes the given schema representation into a string.
Link copied to clipboard
Generates a JSON object representing the schema of the input target.
Link copied to clipboard
Serializes the schema of the provided object into a JSON-formatted string.
Link copied to clipboard
Returns the type of the schema representation being generated.
Link copied to clipboard
Returns the type of the target for which the schema is being generated.