dave
03/04/2019, 1:42 PMval definitely = listOf(routes("/hello" bind Method.GET to { Response(OK).body("HELLO") }))
val maybe = if (true) listOf(routes("/bob" bind Method.GET to { Response(OK).body("BOB") })) else emptyList()
val output = routes(*(definitely + maybe).toTypedArray())