Hi Ron, Can you please tell me which version i need to use. currently i am using the following :
<dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.7.0</version> <scope>compile</scope> </dependency> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger-ui</artifactId> <version>2.7.0</version> <scope>compile</scope> </dependency> On Wednesday, May 2, 2018 at 12:51:25 AM UTC+5:30, Ron wrote: > > That looks like a very old version of swagger-ui. Please try the latest. > > > > > > > > *From: *<[email protected] <javascript:>> on behalf of Anand > Mishra <[email protected] <javascript:>> > *Reply-To: *"[email protected] <javascript:>" < > [email protected] <javascript:>> > *Date: *Thursday, April 19, 2018 at 01:39 > *To: *Swagger <[email protected] <javascript:>> > *Subject: *Unable to infer base url. > > > > When i am running swagger-ui , i am getting a popup which shows following > error: > > Unable to infer base url. This is common when using dynamic servlet > registration or when the API is behind an API Gateway. The base url is the > root of where all the swagger resources are served. For e.g. if the api is > available at http://example.org/api/v2/api-docs then the base url is > http://example.org/api/. Please enter the location manually: > > -- > You received this message because you are subscribed to the Google Groups > "Swagger" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > For more options, visit https://groups.google.com/d/optout. > > -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
