code: function filterOutOptionalQueryParams(data) {
    data.queryParameters = data.queryParameters.filter(function(queryParam) {
      // Let's be conservative and treat params without explicit required field as not-optional
      var optional = queryParam.required !== undefined && !queryParam.required;
      var dataProvided = data.requestParameters.hasOwnProperty(queryParam.name);
  
      return !optional || dataProvided;
    });
    return data;
  }
docs: Filter out optional query parameters with no value provided in request data
  @private
  @param  {json} data Generated Data
  @returns {json} return all the properties information