IBM/openapi-validator

Syntax error: empty string near e": {"": "

Opened this issue · 1 comments

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": {"": "

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.