title: 401 unauthorized page for swagger?
body: <p>I am enable swagger2 by @EnableSwagger2. However, when I try to hit "/swagger-ui.html", it first hit my Authentication Filter. Then, I wrote the following code to bypass the authentication check</p>
  
  <pre><code>String resourcePath = new UrlPathHelper().getPathWithinApplication(httpRequest);
  if ("/swagger-ui.html".equalsIgnoreCase(resourcePath)) {
       filterChain.doFilter(request, response);
  }
  </code></pre>
  
  <p>I can see the <code>filterChain.doFilter(request, response);</code> was hit. However, when I let the debug go, it returns a page with information below</p>
  
  <pre><code>Whitelabel Error Page
  This application has no explicit mapping for /error, so you are seeing this as a fallback.
  
  Wed Apr 04 15:41:50 EDT 2018
  There was an unexpected error (type=Unauthorized, status=401).
  No message available
  </code></pre>
  
  <p>Any idea, guys?</p>