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
In the above output, I need the "items" to have a "type" of "object".
So it seems, the fix could be to include the "type" for array elements? If the array elements are primitives, it could skip adding the "required" and "properties"?
The json schema generator does not generate schema the way I want it to.
For e.g. When I create the schema on the object :
{c: ["a", "b", "c"]}
The schema created is as below:
In the above schema - the array
c
, has a default value of[“a”, “b”, “c”]
Instead my requirement is that, we should create the schema as below.
The text was updated successfully, but these errors were encountered: