problem while Integrating Swagger with java jax-rs

30 views
Skip to first unread message

kaushal Shah

unread,
May 4, 2018, 12:16:33 AM5/4/18
to Swagger
I want to integrate Swagger with into my current maven project. My project has multiple modules(multiple web.xml)
I have added dependency in Parent pom.xml . 
What is a next step.
Are there any changes required in web.xml. I have added below dependencies in parent pom.


<dependency>
  <groupId>io.swagger</groupId>
<artifactId>swagger-jaxrs</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-jersey2-jaxrs</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-jaxrs2</artifactId>
<version>2.0.0</version>
</dependency>
<dependency>
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-jaxrs2-servlet-initializer</artifactId>
<version>2.0.0</version>
</dependency>

Francesco Tumanischvili

unread,
May 9, 2018, 9:29:43 AM5/9/18
to Swagger
Please check out 2.0 wiki at https://github.com/swagger-api/swagger-core/wiki/Swagger-2.X---Getting-started, as providing integration options details along with samples.
Reply all
Reply to author
Forward
0 new messages