README.md in weak_parameters-0.0.6 vs README.md in weak_parameters-0.0.7
- old
+ new
@@ -32,9 +32,16 @@
=> 400
irb(main):005:0> app.post "/recipes", name: "alice", type: "bob"
=> 400
```
+### Available validators
+* array
+* hash
+* integer
+* string
+* boolean (= 0, 1, false, true)
+
## Tips
WeakParameters.stats returns its validation metadata, and this is useful for auto-generating API documents.
With [autodoc](https://github.com/r7kamura/autodoc), you can auto-generate API documents with params information.
https://github.com/r7kamura/autodoc