mac- / ratify

A Hapi plugin for validating the schema of path, query, request body, and response body params using JSON-schema
MIT License
71 stars 27 forks source link

Validate if properties with type 'file' are readable streams #47

Closed dirceu closed 7 years ago

dirceu commented 8 years ago

If a payload (or any of its properties) has type == 'file', check if it's a readable stream and, if not, return an error.