feat(xo-server/api): explicitely allow $type and enumNames in schemas
This commit is contained in:
parent
3cc9fd2782
commit
b4fbe8df07
@ -15,7 +15,7 @@ export default class {
|
||||
this._ajv = new Ajv({
|
||||
strict: 'log',
|
||||
useDefaults: true,
|
||||
})
|
||||
}).addVocabulary(['$type', 'enumNames'])
|
||||
this._plugins = { __proto__: null }
|
||||
|
||||
this._pluginsMetadata = new PluginsMetadata({
|
||||
|
Loading…
Reference in New Issue
Block a user