asePath(Strings.isNullOrEmpty(uriComponents.getPath()) ? &quot;/&quot; : uriComponents.getPath());</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">    if (isNullOrEmpty(swagger.getHost())) {</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">      swagger.host(hostName(uriComponents));</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">    }</span><br></span><span class="token-line" style=