Hi - Our OAS has a lot of allOfs , oneOfs and we a...
# pactflow
m
Hi - Our OAS has a lot of allOfs , oneOfs and we are getting false failures while doing BDCT. Is there a quick setting on the pact side to make "additionalProperties":true - rather than adding it on multiple times on schema? Requesting help here.
m
Interesting question. If we set it to true, you are likely to get false positives - which are worse
Are you able to share your OAS?
y
Hey @Madhulika Mitra sorry for the late reply, we have all been away on an offsite for the week. The current functionality provided in swagger-mock-validator, although configurable, we have been opinionated in pactflow, with the defaults chosen and these are not currently configurable by our end users because it can lead to false positives. As mentioned, if you can share your oas either here or directly with myself or Matt, that would be useful to see how we can help
🙏 1
🙌 1
m
Hello - I have shared on a private chat 🙂
👍 1