The JsonSchemaAssertions object does not assert for application/json in the content-type header. It should behave similar to JsonResponseAssertion in that it checks that the content-type is application/json. It should also allow the user to override the expected content-type using overrideContentType().
The
JsonSchemaAssertions
object does not assert forapplication/json
in the content-type header. It should behave similar toJsonResponseAssertion
in that it checks that the content-type isapplication/json
. It should also allow the user to override the expected content-type usingoverrideContentType()
.