Fix parameters and outputs validation, make parameter.onChange optional

[#44644217]