Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
spaceone opened this issue Nov 9, 2022 · 1 comment
Open

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

spaceone opened this issue Nov 9, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@spaceone
Copy link

spaceone commented Nov 9, 2022

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": {"": "
@rmkeezer rmkeezer added the bug Something isn't working label Nov 30, 2022
@padamstx
Copy link
Member

padamstx commented May 4, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants