code: func (a *Client) AddOne(params *AddOneParams, authInfo runtime.ClientAuthInfoWriter) (*AddOneCreated, error) {
  	// TODO: Validate the params before sending
  	if params == nil {
  		params = NewAddOneParams()
  	}
  
  	result, err := a.transport.Submit(&runtime.ClientOperation{
  		ID:                 "addOne",
  		Method:             "POST",
  		PathPattern:        "/",
  		ProducesMediaTypes: []string{"application/io.swagger.examples.todo-list.v1+json"},
  		ConsumesMediaTypes: []string{"application/io.swagger.examples.todo-list.v1+json"},
  		Schemes:            []string{"http", "https"},
  		Params:             params,
  		Reader:             &AddOneReader{formats: a.formats},
  		AuthInfo:           authInfo,
  		Context:            params.Context,
  		Client:             params.HTTPClient,
  	})
  	if err != nil {
  		return nil, err
  	}
  	return result.(*AddOneCreated), nil
  
  }
docs: /*
  AddOne add one API
  */