Replies: 1 comment 3 replies
-
Thanks for this @e-lo ! We're unfortunately learning both how lacking the validation output can be with these constructs and, in parallel, how obfuscated the automatically-generated documentation can be. We're talking internally about different solutions. There's a possibility (more than zero, but less than a probability) that we would switch to a different modeling meta-language if we feel the benefits outweigh the cost, including on the side of automated validation and/or documentation. One thing I'm curious about is if you know any JSON Schema tricks that would allow us to express the same constructs but avoiding the |
Beta Was this translation helpful? Give feedback.
-
As somebody who has banged my head against many walls dealing with json-schema writing and validating json data to json-schemas, I can tell you that most validation tools for json-schema do not do a great job of telling you why a anyOf, allOf, oneOf statement fails - and can in fact provide misleading exception documentation.
It's unlikely that you can eliminate all of these...but anywhere they can be avoided you will be preventing headaches.
Beta Was this translation helpful? Give feedback.
All reactions