resolve

fun <T> resolve(    responseName: String,     type: CompiledType,     enumValues: List<String>,     vararg ctors: () -> Map<String, Any?>): T