Skip to content

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

Description

@spaceone

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions