def single_param(schema):
 ret = multi_params(schema)
 ret['maxItems'] = 1
 return ret

def single_param ( schema ) : ret = multi_params ( schema ) ret [ 'maxItems' ] = 1 return ret
macro function for use in jsonschema to support query parameters that should have only one value .