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
-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
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
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
>
>
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
{
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();
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