I tried 1.5.9 and it also does not return the basepath. On Tuesday, November 15, 2016 at 12:29:06 PM UTC-5, Ron wrote: > > This is odd. Can you try a version between 1.5.4 and 1.5.10? > > > > > > > > *From: *<[email protected] <javascript:>> on behalf of > Jonathan Lemon <[email protected] <javascript:>> > *Reply-To: *"[email protected] <javascript:>" < > [email protected] <javascript:>> > *Date: *Tuesday, 15 November 2016 at 8:36 > *To: *Swagger <[email protected] <javascript:>> > *Subject: *Basepath Not Being Returned > > > > Hi all, > > > > I am currently trying to upgrade from swagger-jaxrs:1.5.4 > to swagger-jaxrs:1.5.10 and ran into an issue. > > > > The basepath is no longer being returned on the swagger.json. > > > > > > I programatically bootstrap our application like so: > > > > public class Bootstrap extends HttpServlet > > { > > private static final long serialVersionUID = 1L; > > > > static > > { > > // Retrieve the system name > > String systemName = > ApplicationConfig.getInstance().getValue(ConfigurationKeys.MODULE_NAME); > > String resourcePackage = > ApplicationConfig.getInstance().getValue(ConfigurationKeys.RESOURCE_PACKAGE); > > > > // Swagger configuration > > BeanConfig beanConfig = new BeanConfig(); > > beanConfig.setVersion("@BUILD_VERSION@"); > > beanConfig.setBasePath("/" + systemName + "/resources"); > > beanConfig.setResourcePackage(resourcePackage); > > beanConfig.setScan(true); > > } > > } > > > > Any ideas? > > -- > 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.
