swagger-node icon indicating copy to clipboard operation
swagger-node copied to clipboard

How to use async/await in swagger-node?

Open tanobi92 opened this issue 7 years ago • 2 comments

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

tanobi92 avatar Aug 18 '18 03:08 tanobi92

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

[email protected]: host cmsbackend.postoffice.net[165.212.10.250] said: 552 [email protected]... User storage quota exceeded (in reply to RCPT TO command)

alanfrye avatar Aug 19 '18 04:08 alanfrye

This relates to this issue which is fixed in [email protected] https://github.com/apigee-127/swagger-tools/issues/44.

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

KB1RMA avatar Aug 21 '18 18:08 KB1RMA