code: func (o *FindPetsByStatusURL) Build() (*url.URL, error) {
  	var _result url.URL
  
  	var _path = "/pets/findByStatus"
  
  	_basePath := o._basePath
  	if _basePath == "" {
  		_basePath = "/v2"
  	}
  	_result.Path = golangswaggerpaths.Join(_basePath, _path)
  
  	qs := make(url.Values)
  
  	var statusIR []string
  	for _, statusI := range o.Status {
  		statusIS := statusI
  		if statusIS != "" {
  			statusIR = append(statusIR, statusIS)
  		}
  	}
  
  	status := swag.JoinByFormat(statusIR, "multi")
  
  	for _, qsv := range status {
  		qs.Add("status", qsv)
  	}
  
  	_result.RawQuery = qs.Encode()
  
  	return &_result, nil
  }
docs: // Build a url path and query string