You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 8, 2024. It is now read-only.
Hi,
we are struggling with defining MSON, which would describe array consisting of specified types only (we'd like to have included section of our json api (http://jsonapi.org/) responses fully validated by dredd).
Hi,
we are struggling with defining MSON, which would describe array consisting of specified types only (we'd like to have
includedsection of our json api (http://jsonapi.org/) responses fully validated by dredd).So far, we tried this:
Generated json schema validates this json:
{ "included": [ { "prop1": "" }, { "prop2": "" } ] }but not this one:
{ "included": [ { "prop1": "" }, { "prop1": "" }, { "prop2": "" } ] }Another try was something like this:
But this seems to generate invalid json schema...
Are we missing something?
Thanks in advance!