Hello team. I'm trying to setup bi-directional con...
# pactflow
d
Hello team. I'm trying to setup bi-directional contract testing using the OAS here: https://github.com/marqeta/marqeta-openapi/blob/main/yaml/CoreAPI-3.0.24.yaml However, the verification is failing with:
Copy code
{
  "error": {
    "message": "Cannot read properties of undefined (reading 'type')"
  }
}
I can't figure out what that means. Any help?
m
Looks like it’s an invalid document. (using https://editor.swagger.io/)
Probably it’s that.
Do you have a consumer contract we can look at also?
d
O wow. Thank you for debugging that. You're right. After I heavily modified the spec, I was able to get the verification to pass.