We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d29c6c1 commit 434eb64Copy full SHA for 434eb64
lib/JsonSchemaModule.js
@@ -140,9 +140,11 @@ class JsonSchemaModule extends AbstractModule {
140
/**
141
* Adds a new keyword to be used in JSON schemas
142
* @param {Object} definition AJV keyword definition
143
+ * @param {Object} options Configuration options
144
+ * @param {Boolean} options.override Whether to override an existing definition
145
*/
- addKeyword (definition) {
- this._library.addKeyword(definition)
146
+ addKeyword (definition, options) {
147
+ this._library.addKeyword(definition, options)
148
}
149
150
0 commit comments