Skip to content

Commit

Permalink
more description
Browse files Browse the repository at this point in the history
  • Loading branch information
kawa-kokosowa committed Sep 29, 2016
1 parent 872348a commit 14a36f0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -6,6 +6,10 @@ Add the `@validate_json` decorator and schema class constant to
`flask_restful.Resource` methods (post, get, etc.) in order to validate
requests meet the `jsonschema`.

Ensure JSON request matches schema specified in the class the wrapped method
belongs to, provide that valid JSON to the method, or abort 400 with the
validation error message.


```python
from flask_restful_jsonschema import validate_json
Expand Down

0 comments on commit 14a36f0

Please sign in to comment.