title: Can I get /swagger-ui.html to redirect to /swagger-ui/
body: <p>At springfogx-swagger-ui 3.0.0 my Spring Boot app ends up with the Swagger UI at <a href="http://myapp.example.com:8080/swagger-ui/" rel="nofollow noreferrer">http://myapp.example.com:8080/swagger-ui/</a>. My users are used to seeing that URL as <a href="http://myapp.example.com:8080/swagger-ui.html" rel="nofollow noreferrer">http://myapp.example.com:8080/swagger-ui.html</a>. Is there a way I can set up a redirect or something to let users who &quot;know&quot; <a href="http://myapp.example.com:8080/swagger-ui.html" rel="nofollow noreferrer">http://myapp.example.com:8080/swagger-ui.html</a> be routed to the &quot;correct&quot; URL <a href="http://myapp.example.com:8080/swagger-ui/" rel="nofollow noreferrer">http://myapp.example.com:8080/swagger-ui/</a>?</p>
  <p>I got both swagger and swagger-ui in the &quot;usual&quot; Spring Boot manner</p>
  <pre><code>        &lt;dependency&gt;
              &lt;groupId&gt;io.springfox&lt;/groupId&gt;
              &lt;artifactId&gt;springfox-boot-starter&lt;/artifactId&gt;
              &lt;version&gt;3.0.0&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;io.springfox&lt;/groupId&gt;
              &lt;artifactId&gt;springfox-swagger-ui&lt;/artifactId&gt;
              &lt;version&gt;3.0.0&lt;/version&gt;
          &lt;/dependency&gt;
  </code></pre>
  <p>This may be a more Spring Boot question than a Spring Fox question in any event. A redirect seems like the no-muss-no-full solution.</p>