createMappedRoutes
abstract fun createMappedRoutes(mappedRoutes: List<MappedRoute>, onEachRequest: suspend (MappedRoute) -> MappedResponse)
Creates mapped routes based on a list.
Parameters
mappedRoutes
The mapped routes to create.
onEachRequest
The request handler for the original route, with the mapped route, queries, headers, and body.