plain">        logger.info(&quot;Route Size:{}&quot;,routes.size());</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">        for (Route route:routes) {</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">            resources.add(swaggerResource(route.getId(), route.getFullPath().replace(&quot;**&quot;, &quot;v2/api-docs&quot;)));</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">        }