fix(misc): make generated schemas compliant with json schema spec (#6548)

This commit is contained in:
Leosvel Pérez Espinosa 2021-07-30 13:33:17 +01:00 committed by GitHub
parent 89c70f2264
commit ddfbac50b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{ {
"$schema": "http://json-schema.org/schema", "$schema": "http://json-schema.org/schema",
"cli": "nx", "cli": "nx",
"id": "<%= className %>", "$id": "<%= className %>",
"title": "", "title": "",
"type": "object", "type": "object",
"properties": { "properties": {

View File

@ -1,6 +1,7 @@
{ {
"$schema": "http://json-schema.org/schema",
"cli": "nx", "cli": "nx",
"id": "<%= name %>", "$id": "<%= name %>",
"type": "object", "type": "object",
"properties": { "properties": {
"name": { "name": {