This project is a simple example of integration of Swagger with Spring 4 application (with Jersey 2). http://www.jakubstas.com
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main
.gitignore
README.md
pom.xml

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