diff --git a/openapi_core/unmarshalling/schemas/unmarshallers.py b/openapi_core/unmarshalling/schemas/unmarshallers.py index b60f9c3..015edff 100644 --- a/openapi_core/unmarshalling/schemas/unmarshallers.py +++ b/openapi_core/unmarshalling/schemas/unmarshallers.py @@ -144,7 +144,8 @@ class ArrayUnmarshaller(ComplexUnmarshaller): def __call__(self, value=NoValue): value = super(ArrayUnmarshaller, self).__call__(value) - + if value is None and self.schema.nullable: + return None return list(map(self.items_unmarshaller, value))