Open rajeget opened 8 years ago
There is not, but many have asked. Let's keep this open to track the issue.
I kind of worked around , replaced : app = require('connect')(); replaced with : app = require('express')(); And ofcouse installed express .
This seems to have worked . Will review it for more route/validate etc . If that works will contribute this small alternation to the project.
If someone already have idea - as to if I am going in wrong direction please correct. Can contribute a better express server stub . But would require guidance.
-Raje
Thanks! I can help integrate your changes into the templates and make it selectable from the generator. Just let me know how your testing goes and share your package.json and change to the js file
@rajegit did you end up using Express or Connect? And how did it work out for you?
@FilipHarald if you've time to work on the NodeJS express generator, please let me know and we can work together on that.
@wing328 unfortunately I do not have time at the moment. I ended up using swaggerize-express instead. Thank you for inviting me to contribute anyways!
@FilipHarald np and thanks for sharing swaggerize-express, which looks good. I'll give it a try as well.
FWIW, we provide a swagger-to-server-models generator in LoopBack, our API framework built on top of express. See https://loopback.io/doc/en/lb2/Swagger-generator.html to get started.
Hello! Is there any update on this?
+1
hi @linuxbandit @Vichy97 it seems this ticket is a bit forgotten. i'm just starting to get involve with nodejs but i'm pretty familiar with codegen. if you guys guide me for the expected output i could help you with a solution for this.
Hi guys, Any update on this? Looking for a server stub generation with express, I was surprised to see its not already available out of the box
Any news on this one?
any updates here?
Is there any plan to implement ExpressJs here?
Hello, any news about express support in 2023?
The codegen server stub , creates the 'connect' middleware . Is there a way to create express middleware. Express is more popular . If yes, howto . If no, can I put a request for it ?
Thanks _Raje