reverted required params fix, allow api to be a path.

Use https://github.com/krakenjs/swaggerize-builder/pull/17 instead.