make jshint happy
fix swagger version v1 vs v2 test