Skip to content

Commit 8210da5

Browse files
docs: update documentation for overrides (#203)
Looking at the source code then it looks like the config value should be `override` rather then `overrides` so updating documentation to reflect that Co-authored-by: Aayush Sahu <[email protected]>
1 parent ac6501b commit 8210da5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ npm install @asyncapi/diff
4141
import { diff } from "@asyncapi/diff"; // const { diff } = require('@asyncapi/diff');
4242

4343
const output = diff(firstDocument, secondDocument, {
44-
overrides: {
44+
override: {
4545
// object to override the standard
4646
},
4747
});
@@ -88,7 +88,7 @@ output.unclassified(); // the unclassified changes
8888

8989
```js
9090
const output = diff(firstDocument, secondDocument, {
91-
overrides: {
91+
override: {
9292
"/servers/*/protocol": {
9393
add: "non-breaking",
9494
remove: "breaking",

0 commit comments

Comments
 (0)