pactflow / roadmap

Public Pactflow issue tracker and roadmap
MIT License
15 stars 0 forks source link

Improved anyOf keyword support #83

Closed mefellows closed 1 year ago

mefellows commented 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".

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.

mefellows commented 1 year ago

Closed in #82