Closed mefellows closed 1 year ago
The anyOf and oneOf logical keywords are not intuitive to use and come with a number of caveats that make understanding certain issues hard to debug. This feature aims to simplify the use of these keywords and make them "obvious".
anyOf
oneOf
See https://docs.pactflow.io/docs/bi-directional-contract-testing/contracts/oas/keyword-support#oneof-anyof for background.
See https://github.com/mefellows/pact-oas-validator for an example demonstrating how an intuitive version of an anyOf operator would work.
Closed in #82
The
anyOf
andoneOf
logical keywords are not intuitive to use and come with a number of caveats that make understanding certain issues hard to debug. This feature aims to simplify the use of these keywords and make them "obvious".See https://docs.pactflow.io/docs/bi-directional-contract-testing/contracts/oas/keyword-support#oneof-anyof for background.
See https://github.com/mefellows/pact-oas-validator for an example demonstrating how an intuitive version of an
anyOf
operator would work.