Ella Cao
10/15/2024, 8:44 PMRequest body is incompatible with the request body schema in the spec file: must NOT have additional properties but without specific properties.
request.body = {"content":{"StreamIds":["testStreamId"]},"contentType":"application/json","encoded":false}
I don't know why the request body contains properties "contentType" and "encoded" which I only define the content in the JsonBody under PactBuilder new { StreamIds = new[] { _testStreamId } } . Having no clues on how to fix the error, any ideas or suggestions will be sincerely appreciated.Matt (pactflow.io / pact-js / pact-go)
Ella Cao
10/18/2024, 9:02 PM