update readme for adding binding about skip validate

This commit is contained in:
thinkerou 2018-05-17 20:02:07 +08:00
parent 7f3d687387
commit 0885207358

View File

@ -572,6 +572,7 @@ $ curl -v -X POST \
``` ```
**Skip validate** **Skip validate**
When running the above example using the above the `curl` command, it returns error. Because the example use `binding:"required"` for `Password`. If use `binding:"-"` for `Password`, then it will not return error when running the above example again. When running the above example using the above the `curl` command, it returns error. Because the example use `binding:"required"` for `Password`. If use `binding:"-"` for `Password`, then it will not return error when running the above example again.
### Custom Validators ### Custom Validators