This is a sample gradle project in which a JAX RS (Jersey) REST API is documented with Swagger.
-
Clone the repo on your system.
git clone https://github.com/yasharmaster/swagger-gradle-jersey-sample.git
-
Change the current directory to the project directory.
cd swagger-gradle-jersey-sample
-
Run the Jetty server using gradle wrapper.
./gradlew jettyRun
-
Visit http://localhost:8080/swagger-gradle-jersey-sample to checkout the generated Swagger documentation.
MIT