code: func (o *UpdatePetWithFormParams) bindName(rawData []string, hasKey bool, formats strfmt.Registry) error {
  	if !hasKey {
  		return errors.Required("name", "formData")
  	}
  	var raw string
  	if len(rawData) > 0 {
  		raw = rawData[len(rawData)-1]
  	}
  
  	// Required: true
  
  	if err := validate.RequiredString("name", "formData", raw); err != nil {
  		return err
  	}
  
  	o.Name = raw
  
  	return nil
  }
docs: // bindName binds and validates parameter Name from formData.