etProperty(&quot;springfox.documentation.swagger.v2.path&quot;, &quot;/v2/api-docs-ext&quot;);</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">        swagger1Available = classByName(&quot;springfox.documentation.swagger1.web.Swagger1Controller&quot;).isPresent();</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">        swagger2Available = classByName(&quot;springfox.documentation.swagger2.web.Swagger2Controller&quot;).isPres