code: function (service) {
  
              var index, length, parameters = this.smd.parameters, param,
                  svcParameters = service.parameters || [],
                  params = {
                      PATH: [], //args in URL path
                      URL: [], //args in query string
                      JSON: [], //JSON in POST/PUT body
                      ENTITY: [] //custom POST/PUT entity body (e.g., multi-part)
                  };
  
              parameters = parameters ? parameters.concat(svcParameters) : svcParameters;
  
              if (parameters) {
                  for (index = 0, length = parameters.length; index < length; index += 1) {
                      param = parameters[index];
                      params[param.envelope].push(param);
                  }
              }
  
              return params;
  
          }
docs: Returns the param list mapped by envelope (URL, PATH, ENTITY)