Issue: In the provider end, pact tests is failing with below error:-
Request to provider failed with an exception: “/” is not allowed in an identifier in path expression “$.data[0].relationships.user/shippingAddress.data.id” at index 28 (
au.com.dius.pact.core.model.InvalidPathExpression)
My Request (POST):
“relationships”: {
“user/shippingAddress”: {
“data”: {
“id”: “12345”,
“type”: “user/shipping-address”
}
}
We are using junit5spring version 4.3.7. Is this a known issue in the pact ? Is there any way to fix this issue? Thanks.