Reproducer for swagger-codegen issue 4819.
Make sure you install all requirements:
then run the server:
It will offer a RESTful API on http://localhost:5000/ping which you can test.
Note that the bundle.js file was created using browserify, as explained in the swagger-codegen client's README.me file.