Skip to content
This repository has been archived by the owner on Jun 8, 2020. It is now read-only.

Add ArrayTypeGenerator #5

Closed
jordanaubert opened this issue Jun 13, 2018 · 0 comments
Closed

Add ArrayTypeGenerator #5

jordanaubert opened this issue Jun 13, 2018 · 0 comments

Comments

@jordanaubert
Copy link
Contributor

jordanaubert commented Jun 13, 2018

When i get the array property foo :

"foo": {
    "10": 3.333,
    "11": 5.555
}

The JSON does not validate :

 JSON does not validate. Violations:
        - [foo] Object value found, but an array or a null is required
       (Exception)

according to the item schema :

"foo": {
    "type": [
         "array",
         "null"
    ]
}

Adding the type object in the schema should fix the problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants