swagger-api / swagger-node

Swagger module for node.js
http://swagger.io
Apache License 2.0
3.97k stars 585 forks source link

How to use async/await in swagger-node? #571

Open tanobi92 opened 6 years ago

tanobi92 commented 6 years ago

Hi everybody, I tried to use async/await in project but it failed. Help me, please! Thanks!

alanfrye commented 6 years ago

This is the mail system at host postin02.mbox.net.

I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can delete your own text from the attached returned message.

               The mail system

alan.frye@usa.net: host cmsbackend.postoffice.net[165.212.10.250] said: 552 alan.frye@usa.net... User storage quota exceeded (in reply to RCPT TO command)

KB1RMA commented 6 years ago

This relates to this issue which is fixed in swagger-tools@0.10.2 https://github.com/apigee-127/swagger-tools/issues/44.

For now you just need to wrap the async function calls.