Why does springfox-swagger2 UI tell me Unable to infer base url. As far as I know, I am using a typical Swagger spring-boot configuration.
Unable to infer base url.
As you can
in my case i had this line in my WebSecurityConfig.java:
.antMatchers("swagger-ui.html").permitAll()
and when i added this one:
.antMatchers("/swagger-resources/**").permitAll()
my problem resolved.