- How To Integrate Spring Boot, Jersey, Swagger to build real world JSON-based RESTful web services
We must Have Spring Boot Starter Web as a dependency for Swagger UI to Work Properly .
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"}]