glideapps/quicktype
Ver no GitHubUnhelpful error message when schema JSON is invalid
Open
#1.062 aberto em 11 de set. de 2018
CLIbuggood first issue
Métricas do repositório
- Stars
- (10.867 stars)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
{
"$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.