func maxLengthError(param *spec.Parameter) *errors.Validation { return errors.TooLong(param.Name, param.In, *param.MaxLength) }
func maxLengthErrorItems(path, in string, items *spec.Items) *errors.Validation { return errors.TooLong(path, in, *items.MaxLength) }