address https://github.com/swagger-api/swagger-js/pull/165