code: func (o *ElapseParams) validateLength(formats strfmt.Registry) error {
  
  	if err := validate.MinimumInt("length", "path", int64(o.Length), 2, false); err != nil {
  		return err
  	}
  
  	if err := validate.MaximumInt("length", "path", int64(o.Length), 30, false); err != nil {
  		return err
  	}
  
  	return nil
  }
docs: // validateLength carries on validations for parameter Length