https://github.com/sanjay007/springboot-jersey-swagger
https://github.com/sanjay007/springboot-jersey-swagger
boot jersey-spring-hibernate jersey-swagger spring swagger swaggerui
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/sanjay007/springboot-jersey-swagger
- Owner: Sanjay007
- Created: 2018-07-16T13:19:32.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-16T14:12:25.000Z (almost 8 years ago)
- Last Synced: 2025-06-23T05:46:59.446Z (12 months ago)
- Topics: boot, jersey-spring-hibernate, jersey-swagger, spring, swagger, swaggerui
- Language: Java
- Homepage:
- Size: 2.67 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# How To Configure Spring Boot Jersey and Swagger
[](https://travis-ci.org/Sanjay007/Springboot-Jersey-Swagger)
# Problem Statement
- How To Integrate Spring Boot, Jersey, Swagger to build real world JSON-based RESTful web services
# Before You Start It Up
We must Have Spring Boot Starter Web as a dependency for Swagger UI to Work Properly .
# Run the Web Services
----------------------------------------------------------------------------------------------------------------------
> curl -X POST "http://localhost:8080/api/users" -H "accept: application/json" -H "Content-Type: application/json" -d
"{ \"id\": \"78\", \"name\": \"huu\"}"
>curl -X GET "http://localhost:8080/api/users" -H "accept: application/json"
"[{"id": "1","name": "password"},{"id": "2","name": "huu"}]
-------------------------------------------------------------------------------------------------------------------------
# Blog Link
http://frugalisminds.com/spring-boot/configure-swagger-with-jersey-and-spring-boot//
