applyRoutes

fun <T : Any> <ERROR CLASS>.applyRoutes(router: <ERROR CLASS>, serviceManager: KVServiceManager<T>)

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