Package-level declarations

Core schema generator abstractions and configuration.

Core schema generator abstractions and configuration.

Types

Link copied to clipboard
abstract class AbstractSchemaGenerator<T : Any, R : Any, C : Any>(introspector: SchemaIntrospector<T, C>, typeGraphTransformer: TypeGraphTransformer<R, *>) : SchemaGenerator<T, R>

Abstract base class for generating schemas by combining introspection and representation logic.

Link copied to clipboard
class GlobMatcher(val includePatterns: List<String>, val excludePatterns: List<String>)

Matches fully qualified type names against include/exclude glob patterns.

Link copied to clipboard

Marks internal APIs related to the schema generators as requiring opt-in.

Link copied to clipboard
interface SchemaGenerator<T : Any, R : Any>
Link copied to clipboard

Service object responsible for discovering and managing schema generators.

Functions

Link copied to clipboard

Canonical set of fully qualified names of kotlinx.serialization.json types treated as opaque JSON values (mapped to the empty schema {}).

Link copied to clipboard

Canonical map of fully qualified third-party type names to the PrimitiveKind they represent (e.g. Jackson's StringNode ->STRING). Shared across the reflection and KSP introspectors so both resolve these fixed-shape types to the same concrete primitive schema instead of the opaque empty schema {} used for types with no fixed shape (see defaultOpaqueTypeNames).

Link copied to clipboard

Converts a glob pattern to a Regex.

Link copied to clipboard

Splits a processor option value into glob patterns, trimming each token and dropping blanks. Tokens may be separated by commas or semicolons. A null or blank value yields an empty list.