Forum Discussion

HenrikHL's avatar
HenrikHL
Frequent Contributor
2 years ago

The use of oneOf or anyOf in arrays

Hi all, We have been discussing internally of how to use the oneOf and anyOf keywords in arrays. Suppose we have the following 2 items (Dog and Cat)   Dog: type: object properties: name:...