Only iterate over values in pathParams and requiredParams
Merge pull request #239 from ryanseys/hasOwnProperty

Only iterate over values in pathParams and requiredParams