DEV Community

Chathura Hansika
Chathura Hansika

Posted on

Answer: Why does springfox-swagger2 UI tell me “Unable to infer base url.”

I was able to resolve the issue by adding SpringBootApplication with annotation - as suggested by Mark :

@EnableSwagger2

Top comments (0)