Kontent

object Kontent

Responsible for generating the schema map that is used to power all object references across the API Spec.

Functions

Link copied to clipboard
inline fun <T> generateKontent(cache: SchemaMap = mutableMapOf())

Analyzes a type T for its top-level and any nested schemas, and adds them to a SchemaMap, if provided

fun generateKontent(type: KType, cache: SchemaMap = mutableMapOf())

Analyzes a KType for its top-level and any nested schemas, and adds them to a SchemaMap, if provided

Link copied to clipboard
fun generateKTypeKontent(type: KType, cache: SchemaMap = mutableMapOf()): Any

Recursively fills schema map depending on KType classifier