This project is a simple example of integration of Swagger with Spring 4 application (with Jersey 2). http://www.jakubstas.com
JavaScript CSS Java HTML
Permalink
Failed to load latest commit information.
src/main Fix missing namespace issue Jul 11, 2016
.gitignore Fix missing namespace issue Jul 11, 2016
README.md Update readme file Apr 6, 2015
pom.xml Dependency updates Apr 6, 2015

README.md

Spring 4 with Swagger example

This project is a simple example of integration of Swagger with Spring application (with Jersey 2).

Due to some issues with updating the dependencies used in my project Spring with Swagger reported by user pashtika I decided to create this separate project to provide distinct solutions for both Spring 3 and Spring 4.

About

This project was created to enhance my microseries on integration of Swagger with Jersey 2 in Spring application. For further information check out following posts from series called Spring Rest API with Swagger:

  1. Integration and configuration
  2. Creating documentation
  3. Exposing documentation
  4. Fine-tuning exposed documentation

Try it out!

  • Do it yourself and build and deploy it using your favourite IDE
  • Use embedded Jetty and run it right away with mvn jetty:run

Check following URLs (running this example on your localhost):

  1. Swagger API listing
  2. Swagger API documentation
  3. Swagger UI