The Wayback Machine - https://web.archive.org/web/20210723190829/https://github.com/quicktype/quicktype/issues/1062
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

Unhelpful error message when schema JSON is invalid #1062

Open
schani opened this issue Sep 11, 2018 · 1 comment
Open

Unhelpful error message when schema JSON is invalid #1062

schani opened this issue Sep 11, 2018 · 1 comment

Comments

@schani
Copy link
Member

@schani schani commented Sep 11, 2018

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$ref": "#/definitions/foo",
  "definitions": {
    "foo": {
      "type": "object",
      "properties": {
        "bar": {
          "$ref": "bar.json#"
        },
      },
      "required": [
        "bar"
      ],
    },
    "title": "foo"
  }
}

Running quicktype CLI with this Schema produces

Error: Internal error: Defined value expected, but got undefined.
@Armaxxx
Copy link

@Armaxxx Armaxxx commented Dec 15, 2020

Let me see how I can help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants