hey, I have raised this issue a few weeks back, wo...
# pactflow
m
hey, I have raised this issue a few weeks back, would be good to see if it's something that could be looked at? It would be great if we could validate consumer contracts against an OAS file that has 4XX and 5XX error codes https://github.com/pactflow/swagger-mock-validator/issues/60
m
Hey Milda, I missed this request somehow, sorry about that.
I’ll add it to our backlog for when we review an update to that tool. later this quarter or early Q1 next year. You might be able to have a crack at adding it yourself if you feel handy.
m
cheers Matt, I might have a go if it's something fairly straightforward, ta. Appreciate it being looked at by you folks when possible too 👍
m
This was the PR that introduced the “negative” test scenarios, in case it’s helpful: https://github.com/pactflow/swagger-mock-validator/pull/30