code: func (o *ElapseParams) bindLength(rawData []string, hasKey bool, formats strfmt.Registry) error {
  	var raw string
  	if len(rawData) > 0 {
  		raw = rawData[len(rawData)-1]
  	}
  
  	// Required: true
  	// Parameter is provided by construction from the route
  
  	value, err := swag.ConvertInt64(raw)
  	if err != nil {
  		return errors.InvalidType("length", "path", "int64", raw)
  	}
  	o.Length = value
  
  	if err := o.validateLength(formats); err != nil {
  		return err
  	}
  
  	return nil
  }
docs: // bindLength binds and validates parameter Length from path.