Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/docs/docs/usage/validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The `@rjsf/validator-ajv8` package exports the `compileSchemaValidators()` funct
It is expected that this function will be used in a manner similar to the following:

```cjs
const { compileSchemaValidators } = require('@rjsf/validator-ajv8');
const compileSchemaValidators = require('@rjsf/validator-ajv8/dist/compileSchemaValidators').default;
const yourSchema = require('path_to/yourSchema'); // If your schema is a js file

compileSchemaValidators(yourSchema, 'path_to/yourCompiledSchema.js');
Expand Down