Swaggeratr
Swaggeratr copied to clipboard
POST request having null request payload
Thanks for the swaggeratr. I downloaded the zip file and it is almost working fine except POST methods. I tried with http://localhost:12928/v1/rest/DisplayBaseClassProperties post example with input param mySample = { "TestBaseString": "prash", "TestBaseString2": "ray", "TestDerivedString1": ree"", "TestDerivedString2": "roo" } and click "Try It"
on debug, value posted is null. chrome debugger is showing Request Payload empty.
I tried with my sample there also I am finding same issue.
I am missing any basic configuration?
I think this is a Swagger UI bug, actually. If you're able to see the right values listed in your browser but the request is being sent incorrectly when you click "try it", thats Swagger UI. Googling around it sounds like it's maybe been fixed in newer versions - you could try grabbing their latest, though Swaggerator is currently on an older version of the spec and may not work with the latest and greatest Swagger UI. Sorry!