func maxError(param *spec.Parameter) *errors.Validation { return errors.ExceedsMaximum(param.Name, param.In, *param.Maximum, param.ExclusiveMaximum) }
func maxErrorItems(path, in string, items *spec.Items) *errors.Validation { return errors.ExceedsMaximum(path, in, *items.Maximum, items.ExclusiveMaximum) }