applyRoutes

fun <T : Any> <ERROR CLASS>.applyRoutes(serviceManager: KVServiceManager<T>, serializersModules: List<<ERROR CLASS>>? = null)
fun <T : Any> <ERROR CLASS>.applyRoutes(serviceManager: KVServiceManager<T>, serializersModules: List<<ERROR CLASS>>? = null)

A function to generate routes based on definitions from the service manager.