SchemaConfigResolver

Resolves the me.kpavlov.kt.schema.config annotation-processor option to a schema configuration.

The option value is either a case-insensitive shortcut — strict, lenient or openapi — selecting the matching preset, or the fully qualified name of a JsonSchemaConfig class. The class is a Kotlin object or has a public no-arg constructor, and must be visible to the class loader passed to the resolver.

Resolution never falls back silently: an unresolvable value fails with IllegalArgumentException.

Properties

Link copied to clipboard
const val OPTION: String

Processor option (KSP arg(...), APT -A...) holding the config shortcut or class name.

Functions