fix for swagger-js 2.0.11