fixed primitive types mapped in definitions list
fixed port issue during Swagger2.0 translation