Skip to content

Commit

Permalink
Implemented proper codependant properties resolving
Browse files Browse the repository at this point in the history
  • Loading branch information
mokkabonna committed Oct 20, 2017
1 parent bdd86c7 commit a08b4ef
Show file tree
Hide file tree
Showing 6 changed files with 671 additions and 173 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ The function is passed:
- **key** the name of the keyword that caused the resolver to be called (useful if you use the same resolver for multiple keywords)
- **mergeSchemas** a function you can call that merges an array of schemas
**combineAdditionalProperties** default **false**
**ignoreAdditionalProperties** default **false**
Allows you to combine schema properties even though some schemas have `additionalProperties: false` The resulting schema will still get additionalProperties set to false. This is the most common issue people face when trying to expand schemas using allOf and a limitation of the json schema spec.
Expand Down
70 changes: 70 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
"json-schema-ref-parser": "^3.3.1",
"json-stringify-safe": "^5.0.1",
"mocha": "^4.0.1",
"nyc": "^11.2.1"
"nyc": "^11.2.1",
"sinon": "^4.0.1"
},
"dependencies": {
"compute-lcm": "^1.1.0",
Expand Down
Loading

0 comments on commit a08b4ef

Please sign in to comment.