When I use POST from the Swagger UI, the response code is 0. But when I run the generated CURL command in the command line, it works. In my Swagger UI, GET method works. The problem happens only for POST.
@ApiParam(value = "test", required = true, allowMultiple = false) final myclass objectA)