toPathItem

fun List<RouteSpec>.toPathItem(): PathItem