Re: Swagger Core Scanning Web App But Not Generating Documentation

2017-05-31 Thread Ron Ratovsky
y 2017 at 13:53 To: "swagger-swaggersocket@googlegroups.com" <swagger-swaggersocket@googlegroups.com> Subject: Re: Swagger Core Scanning Web App But Not Generating Documentation Added annotations to the service classes and hey presto!--we have useful output from Swagge

Re: Swagger Core Scanning Web App But Not Generating Documentation

2017-05-31 Thread David Rickard
-To: *"swagger-swaggersocket@googlegroups.com" < > swagger-swaggersocket@googlegroups.com> > *Date: *Wednesday, 31 May 2017 at 13:02 > > *To: *"swagger-swaggersocket@googlegroups.com" <swagger-swaggersocket@ > googlegroups.com> > *Subject: *Re: Swagger

Re: Swagger Core Scanning Web App But Not Generating Documentation

2017-05-31 Thread Ron Ratovsky
et@googlegroups.com> Date: Wednesday, 31 May 2017 at 13:02 To: "swagger-swaggersocket@googlegroups.com" <swagger-swaggersocket@googlegroups.com> Subject: Re: Swagger Core Scanning Web App But Not Generating Documentation No. they're not... And FWIW there's no reference to @Api on t

Re: Swagger Core Scanning Web App But Not Generating Documentation

2017-05-31 Thread David Rickard
egroups.com" <swagger-swaggersocket@ > googlegroups.com> > *Subject: *Re: Swagger Core Scanning Web App But Not Generating > Documentation > > > > This is my BootstrapServlet: > > > > public class SwaggerBootstrap extends HttpServlet > >

Re: Swagger Core Scanning Web App But Not Generating Documentation

2017-05-31 Thread Ron Ratovsky
nesday, 31 May 2017 at 11:59 To: "swagger-swaggersocket@googlegroups.com" <swagger-swaggersocket@googlegroups.com> Subject: Re: Swagger Core Scanning Web App But Not Generating Documentation This is my BootstrapServlet: public class SwaggerBootstrap extends HttpServlet {

Re: Swagger Core Scanning Web App But Not Generating Documentation

2017-05-31 Thread David Rickard
This is my BootstrapServlet: public class SwaggerBootstrap extends HttpServlet { public SwaggerBootstrap() { super(); } @Override public void init( ServletConfig config ) throws ServletException { super.init( config ); BeanConfig beanConfig = new BeanConfig();

Re: Swagger Core Scanning Web App But Not Generating Documentation

2017-05-31 Thread Ron Ratovsky
Hi David, Yup, it looks like you skipped a step. You mentioned the Bootstrap servlet. Take a look at https://github.com/swagger-api/swagger-core/wiki/Swagger-Core-Jersey-2.X-Project-Setup-1.5#using-a-servlet: The line:     beanConfig.setResourcePackage("io.swagger.resources"); should