title: Spring boot - springdoc custom url for swagger-ui
body: <p>I need to use a specific url for Swagger-ui. I have tried to use the property &quot;springdoc.swagger-ui.path&quot; but it only redirects.</p>
  <p><strong>application.propperties:</strong>
  <code>springdoc.swagger-ui.path=/helloWorld/swagger</code></p>
  <p><strong>Url in browser:</strong> <em>http://localhost:8181/helloWorld/swagger</em></p>
  <p>but the url changes to the following when hits enter button:</p>
  <p><em>http://localhost:8181/manager/swagger-ui/index.html?configUrl=/manager/swagger/swagger.json/swagger-config</em></p>
  <p>the question is, how can i make the path be only <em>http://localhost:8181/helloWorld/swagger/index.html</em> or <em>http://localhost:8181/helloWorld/swagger</em> once i've hit enter (I need the word &quot;swagger-ui&quot; and configUrl disappear)?</p>
  <p>I`m uisng Springdoc and even tried with springfox</p>
  <p><strong>Pom.xml</strong></p>
  <pre><code>  &lt;dependency&gt;
           &lt;groupId&gt;org.springdoc&lt;/groupId&gt;
           &lt;artifactId&gt;springdoc-openapi-ui&lt;/artifactId&gt;
           &lt;version&gt;1.5.2&lt;/version&gt;
      &lt;/dependency&gt;
  </code></pre>
  <p><strong>application.propperties:</strong></p>
  <pre><code>springdoc.api-docs.path=/helloWorld/swagger/swagger.json
  springdoc.swagger-ui.path=/helloWorld/swagger
  </code></pre>