File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ assert!(s.validate().is_ok());
4545
4646Serde Valid support standard validation based JSON Schema.
4747
48- | Type | Serde Valid(validate derive) | Serde Valid(validate trait) | Json Schema |
48+ | Type | Serde Valid(validate derive) | Serde Valid(validate trait) | JSON Schema |
4949| :-----: | :----------------------------------- | :--------------------------- | :-------------------------------------------------------------------------------------------- |
5050| String | ` #[validate(max_length = 5)] ` | [ ` ValidateMaxLength ` ] | [ maxLength] ( https://json-schema.org/understanding-json-schema/reference/string#length ) |
5151| String | ` #[validate(min_length = 5)] ` | [ ` ValidateMinLength ` ] | [ minLength] ( https://json-schema.org/understanding-json-schema/reference/string#length ) |
@@ -228,7 +228,7 @@ let s = Data { val: 1 };
228228assert! (s . validate (). is_ok ());
229229```
230230
231- Custom validation is suitable for handling convenience validations not defined in JsonSchema .
231+ Custom validation is suitable for handling convenience validations not defined in JSON Schema .
232232` serde_valid::utils::* ` provides convenience functions for specific types.
233233
234234``` rust
You can’t perform that action at this time.
0 commit comments