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.
As you can
I am using spring boot.
In my case I made mistake in package name. in my project the base package name is
org.liferayasif.documents
so my configuration file should be inside
org.liferayasif.documents.config
config -> u can give any name.
but by mistake I put in different package name give below
org.liferayasif.config
once I put the configuration file inside proper package name in my case
org.liferayasif.documents.config
then it worked properly.