Assert JSON response and identify outstanding items
For a functional testing, a rest step relies in an API specification outlining the expected data model defined in each method, to check the response with Swagger Assertion
Also, we are using the smart assertion to check data.
However, is there any option that would also alert about additional objects in the response that are not described in the contract?
If response should have element
and response is
Both Swagger Assertion and Smart assertion will complete succesfully and we would like it to fail because "b" is not defined in the data model.