Sanjay007 / Springboot-Jersey-Swagger

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How To Configure Spring Boot Jersey and Swagger

Build Status

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//

swagger-ui

About


Languages

Language:Java 57.4%Language:HTML 42.6%