update to work with swagger-tools 0.7 async interface