We have a POST body defined like this: ``` - loginRequest: | { "$schema": "http://json-schema.org/draft-04/schema", "type": "object", "properties": { "userName": { "type": "string" }, "email": { "type": "string", "pattern": "^[^@]+@[^@]+$" } }, "minProperties": 1, "maxProperties": 1, "additionalProperties": true } ``` So, if we provide both `userName` and `email`, it should reject the request with 400. But, it does not.
We have a POST body defined like this:
So, if we provide both
userNameandemail, it should reject the request with 400. But, it does not.