@Override public void configure(WebSecurity web) throws Exception { // liberando enderecos que o Swagger chama quando entramos no navegador na url pra abrir a documentacao web.ignoring().antMatchers("/.html", "/v2/api-docs", "/webjars/", "/configuration/", "/swagger-resources/", "/h2-**"); }