Fixing generation of the required property of the parameter object