common/models/optimizedData.js
function getOpParams(pathParams, opParams) {
  var unionParams = _.unionWith(opParams, pathParams, opParamComparator);
  return unionParams;
}
function getOpParams(pathParams, opParams) {
  var unionParams = _.unionWith(opParams, pathParams, opParamComparator);
  return unionParams;
}
function getOpParams ( pathParams , opParams ) { var unionParams = _ . unionWith ( opParams , pathParams , opParamComparator ) ; return unionParams ; }
Returns a Object that denotes the parameters associated with the operation

@param {Array} pathParams path-level parameters in the swagger
@param {Array} opParams op-level perameters in the swagger
Returns a Object that denotes the parameters associated with the operation