Syntax error: empty string near e": {"": "
spaceone opened this issue · 1 comments
spaceone commented
a file containing an dictionary with an empty value (valid json) produces an error:
{"example": {"": "*"}}
docker run --volume "$PWD":/data jamescooke/openapi-validator -prs foo.json
[Error] Invalid input file: foo.json. See below for details.
Syntax error: empty string near e": {"": "
padamstx commented
I ran a small test to confirm this is still occurring in the latest version of the validator (1.0.5).
It's still a problem, and the Error is thrown by the json-dup-key-validator
package.