code: func (a *API) OperationForMethod(name string) *Operation {
  	for _, op := range a.Operations {
  		for _, m := range op.Methods() {
  			if m == name {
  				return op
  			}
  		}
  	}
  
  	return nil
  }
docs: // OperationForMethod returns the API operation name that corresponds to the
  // client method name provided.