<BUG>builder.generatePort(true);} else {builder.port(port);}</BUG><CONTEXT>.build());}private static Mono<CreateRouteResponse> requestCreateRoute(CloudFoundryClient cloudFoundryClient, String domainId, String host, String path, Integer port, Boolean randomPort, String spaceId) {org.cloudfoundry.client.v2.routes.CreateRouteRequest.Builder builder = org.cloudfoundry.client.v2.routes.CreateRouteRequest.builder();if (randomPort != null && randomPort) {<extra_id_0>return cloudFoundryClient.routes()</CONTEXT>
} else if (port != null) {builder.host(host);builder.path(path);