Alexandre A Barbosa
01/13/2023, 6:21 PMfun pathMapped(): Map<String, String> = paths.entries.iterator()
.forEach { entry -> return mapOf(entry.key.replace("__","/"), entry.value)}
could someone else here help to do implement this in a correct way?Klitos Kyriacou
01/13/2023, 6:30 PMfun pathMapped(): Map<String, String> = paths.mapKeys { (k, v) -> k.repace("__","/") }
Alexandre A Barbosa
01/13/2023, 7:00 PM