Is there a way to set any criteria/validations for query paramters that are NOT required? I have tried many combinations is order to do this and can’t figure it out. I can set all criteria but it basically renders the parameter required.
I need the ability to accept a blank parameter value BUT validate it against criteria if a value is provided. For instance I’d like to know how to accept a date parameter but also allow it to be blank.
qp1: type: date-only #minLength: 10 #maxLength: 10 example: "2017-01-01" required: false
Thanks for your time in advance.