build

abstract fun build(type: KType, builder: FinalSchemaBuilder, finalize: (SchemaModel<*>) -> SchemaModel<*>): SchemaModel<*>(source)

Throws

when type is unexpected MAKE SURE TO CALL FINALIZE ON THE PRODUCED OBJECT, AN NOT ON THE EVENTUAL RETURNED REF