|
@@ -225,6 +225,7 @@ class Hapic(object):
|
225
|
225
|
context: ContextInterface = None,
|
226
|
226
|
error_http_code: HTTPStatus = HTTPStatus.BAD_REQUEST,
|
227
|
227
|
default_http_code: HTTPStatus = HTTPStatus.OK,
|
|
228
|
+ as_list: typing.List[str]=None,
|
228
|
229
|
) -> typing.Callable[[typing.Callable[..., typing.Any]], typing.Any]:
|
229
|
230
|
processor = processor or MarshmallowInputProcessor()
|
230
|
231
|
processor.schema = schema
|
|
@@ -235,6 +236,7 @@ class Hapic(object):
|
235
|
236
|
processor=processor,
|
236
|
237
|
error_http_code=error_http_code,
|
237
|
238
|
default_http_code=default_http_code,
|
|
239
|
+ as_list=as_list,
|
238
|
240
|
)
|
239
|
241
|
|
240
|
242
|
def decorator(func):
|