code: func (a *Client) GetTaskDetails(params *GetTaskDetailsParams) (*GetTaskDetailsOK, error) {
  	// TODO: Validate the params before sending
  	if params == nil {
  		params = NewGetTaskDetailsParams()
  	}
  
  	result, err := a.transport.Submit(&runtime.ClientOperation{
  		ID:                 "getTaskDetails",
  		Method:             "GET",
  		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:             &GetTaskDetailsReader{formats: a.formats},
  		Context:            params.Context,
  		Client:             params.HTTPClient,
  	})
  	if err != nil {
  		return nil, err
  	}
  	return result.(*GetTaskDetailsOK), nil
  
  }
docs: /*
  GetTaskDetails gets the details for a task
  
  The details view has more information than the card view.
  You can see who reported the issue and who last updated it when.
  
  There are also comments for each issue.
  
  */