Update swagger.js

to support multiple types ex: name (string,integer)