swagger-tools-valid Try POST http://localhost:9005/users with payload {"invalid":[]} Or CURL command curl -H "Content-Type: application/json" -H "Accept: */*" -X POST -d '{"invalid":[]}' http://localhost:9005/users