Skip to content

Commit

Permalink
Add ContractSpec.jsonSchema() method to generate schemas (#889)
Browse files Browse the repository at this point in the history
* Also add tests that generate input data based on JSON schema
* Fixup: make json-schema-faker a devDep
  • Loading branch information
willemneal authored Dec 14, 2023
1 parent ff2e9f1 commit dc07e03
Show file tree
Hide file tree
Showing 8 changed files with 1,744 additions and 1,420 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@
.DS_Store
.idea/
js-stellar-base/

test/unit/out/
.vscode/launch.json
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
"@types/chai": "^4.3.6",
"@types/detect-node": "^2.0.0",
"@types/eventsource": "^1.1.12",
"@types/json-schema": "^7.0.15",
"@types/lodash": "^4.14.199",
"@types/mocha": "^10.0.2",
"@types/node": "^20.8.10",
Expand Down Expand Up @@ -139,14 +140,15 @@
"typescript": "^5.3.3",
"utility-types": "^3.7.0",
"webpack": "^5.88.2",
"json-schema-faker": "^0.5.4",
"webpack-cli": "^5.0.1"
},
"dependencies": {
"@stellar/stellar-base": "10.0.0",
"axios": "^1.6.0",
"bignumber.js": "^9.1.2",
"eventsource": "^2.0.2",
"randombytes": "^2.1.0",
"@stellar/stellar-base": "10.0.0",
"toml": "^3.0.0",
"urijs": "^1.19.1"
}
Expand Down
Loading

0 comments on commit dc07e03

Please sign in to comment.