Skip to content
Snippets Groups Projects
Commit bcf8030f authored by Klaus Fischer's avatar Klaus Fischer
Browse files

Changed defintions to

parent 984df86f
No related branches found
No related tags found
1 merge request!8Changed defintions to $def
......@@ -22,6 +22,6 @@ if (args.length !== 2) {
let parser = new $RefParser()
let schema = await parser.bundle(args[0])
fs.writeFileSync(args[1], JSON.stringify(schema))
fs.writeFileSync(args[1], JSON.stringify(schema).replace("%24defs", "$defs"))
})()
......@@ -47,7 +47,7 @@
"type": "object",
"properties": {
"authenticationTags": {
"$ref": "#/definitions/authenticationTags"
"$ref": "#/$defs/authenticationTags"
}
},
"required": [
......@@ -79,7 +79,7 @@
"type": "object",
"properties": {
"problems": {
"$ref": "#/definitions/problems"
"$ref": "#/$defs/problems"
}
},
"required": [
......@@ -91,10 +91,10 @@
"type": "object",
"properties": {
"problems": {
"$ref": "#/definitions/problems"
"$ref": "#/$defs/problems"
},
"authenticationTags": {
"$ref": "#/definitions/authenticationTags"
"$ref": "#/$defs/authenticationTags"
}
},
"required": [
......@@ -121,7 +121,7 @@
"txn",
"events"
],
"definitions": {
"$defs": {
"authenticationTags": {
"$ref": "./authentication-tags.schema.json"
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment