@cloudflare/cabidela 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
@@ -72,7 +72,7 @@ Cabidela takes a JSON-Schema and optional configuration flags:
|
|
72
72
|
- `errorMessages`: boolean - If true, the validator will use custom `errorMessage` messages from the schema. Default is false.
|
73
73
|
- `fullErrors`: boolean - If true, the validator will be more verbose when throwing errors for complex schemas (example: anyOf, oneOf's), set to false for shorter exceptions. Default is true.
|
74
74
|
- `useMerge`: boolean - Set to true if you want to use the `$merge` keyword. Default is false. See below for more information.
|
75
|
-
- `
|
75
|
+
- `subSchemas`: any[] - An optional array of sub-schemas that can be used with `$id` and `$ref`. See below for more information.
|
76
76
|
|
77
77
|
Returns a validation object.
|
78
78
|
|
package/package.json
CHANGED