Rajat Chouhan
06/13/2023, 10:20 AMoneOf
in the schema...Using BDCT workflow and we have oneOf
keyword in the schema and I had followed the instructions here : https://docs.pactflow.io/docs/bi-directional-contract-testing/contracts/oas/keyword-support/ and we did dereferencing and inlining $refs with keyword oneOf
pact results are red and without oneOf
pact results are green.
Can we use oneOf
keyword in schema to make pact green? Any suggestions?
Please refer to the attached observations.Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Alex
06/16/2023, 2:54 PMAlex
06/16/2023, 2:57 PMAlex
06/16/2023, 3:03 PMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
oneOf
is not working.Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
additionalProperties
set to true
at the level of oneOf
e.g.