Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mokkabonna committed Feb 7, 2021
1 parent 09bea1d commit 7edaab5
Show file tree
Hide file tree
Showing 5 changed files with 2,858 additions and 2,404 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ When multiple conflicting **not** values are found, we also use the approach tha

Allows you to combine schema properties even though some schemas have `additionalProperties: false` This is the most common issue people face when trying to expand schemas using allOf and a limitation of the json schema spec. Be aware though that the schema produced will allow more than the original schema. But this is useful if just want to combine schemas using allOf as if additionalProperties wasn't false during the merge process. The resulting schema will still get additionalProperties set to false.

**deep** boolean, default *true*
If false, resolves only the top-level `allOf` keyword in the schema.

If true, resolves all `allOf` keywords in the schema.


**resolvers** Object
Override any default resolver like this:

Expand All @@ -92,11 +98,6 @@ mergeAllOf(schema, {
})
```

**deep** boolean, default *true*
If false, resolves only the top-level `allOf` keyword in the schema.

If true, resolves all `allOf` keywords in the schema.

The function is passed:

- **values** an array of the conflicting values that need to be resolved
Expand Down
Loading

0 comments on commit 7edaab5

Please sign in to comment.