Skip to content

Project that demonstrates how to use Jersey 2 & Swagger frameworks together

Notifications You must be signed in to change notification settings

alexiuscrow/jersey-swagger-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jersey 2 & Swagger example project 👊

This repository contains the project that demonstrates how to use Jersey 2 & Swagger frameworks together.
More about Jersey & Swagger configuration you can find here and here respectively.

Run it

Just run gradle war to generate war file. It will be in ./build/lib directory. Then deploy war file to your servlet container (e.g. Tomcat).
To get resource u can use next curl command:
curl -X GET "http://<host>:<port>/jersey-swagger-exmpl/info" -w "\nResponse code: %{http_code}".
To get swagger api scheme:
curl -X GET "http://<host>:<port>/jersey-swagger-exmpl/swagger.json" -w "\nResponse code: %{http_code}".

About

Project that demonstrates how to use Jersey 2 & Swagger frameworks together

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages