diff --git a/weaver/wps_restapi/swagger_definitions.py b/weaver/wps_restapi/swagger_definitions.py index b211c0226..119a19be5 100644 --- a/weaver/wps_restapi/swagger_definitions.py +++ b/weaver/wps_restapi/swagger_definitions.py @@ -1647,7 +1647,7 @@ class PropertiesSchema(ExtendedMappingSchema): def deserialize(self, cstruct): result = super().deserialize(cstruct) if "properties" in cstruct: - props = (result or {}).get("properties") or {} + props = (result or {}).get("properties") if cstruct["properties"] != props: raise colander.Invalid( node=self,