Forum Discussion

Stukalov07's avatar
Stukalov07
New Contributor
3 years ago
Solved

Problem with properties validation on mock server

Hi!

I`ve got a problem with Request properties validation. I`m using default mock server https://virtserver.swaggerhub.com/ and default template "Simple API".

this template has the required property "id":

 

 So, i trying to send incorrect request without this property and expecting 400 status as a response, but receiving 201 status. Does somebody know how to resolve it ?