Hello,
I was under the impression that specs like the one below, didn't show correctly on the swagger-v2 schema because it doesn't support this kind of one-of semantics. I believe that openapi-v3 does support it, but unfortunately, the same thing happens - all the keys show up as required (i.e. with a red asterisk).
(s/keys :req-un [(or ::foo ::bar ::baz)])
Any thoughts?
[EDIT]:
Sorry, I should have mentioned that I am using the recently released 0.7.0-alpha1.
Hello,
I was under the impression that specs like the one below, didn't show correctly on the swagger-v2 schema because it doesn't support this kind of
one-ofsemantics. I believe that openapi-v3 does support it, but unfortunately, the same thing happens - all the keys show up as required (i.e. with a red asterisk).Any thoughts?
[EDIT]:
Sorry, I should have mentioned that I am using the recently released
0.7.0-alpha1.