painterjd/stoplight — pull request #1 by tonytan4ever (2014-07-03 16:26:36+00:00)
Title: Allow validation_function to be more dynamic, such as accepting a schema

This will allow validation function to be more generic, you can do something like:::

@validation_function
def with_schema_2(request, schema=None):
....

to pass in a schema to validate against