code: func (a *Client) DeleteTask(params *DeleteTaskParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTaskNoContent, error) {
  	// TODO: Validate the params before sending
  	if params == nil {
  		params = NewDeleteTaskParams()
  	}
  
  	result, err := a.transport.Submit(&runtime.ClientOperation{
  		ID:                 "deleteTask",
  		Method:             "DELETE",
  		PathPattern:        "/tasks/{id}",
  		ProducesMediaTypes: []string{"application/vnd.goswagger.examples.task-tracker.v1+json"},
  		ConsumesMediaTypes: []string{"application/vnd.goswagger.examples.task-tracker.v1+json"},
  		Schemes:            []string{"http", "https"},
  		Params:             params,
  		Reader:             &DeleteTaskReader{formats: a.formats},
  		AuthInfo:           authInfo,
  		Context:            params.Context,
  		Client:             params.HTTPClient,
  	})
  	if err != nil {
  		return nil, err
  	}
  	return result.(*DeleteTaskNoContent), nil
  
  }
docs: /*
  DeleteTask deletes a task
  
  This is a soft delete and changes the task status to ignored.
  
  */