krakenjs / swaggerize-express

Design-driven apis with swagger 2.0 and express.
Other
354 stars 81 forks source link

Generation fails on Windows machine #105

Closed kibertoad closed 8 years ago

kibertoad commented 8 years ago

When "yo swaggerize" is executed on a Windows machine, it fails after trying to execute the following (autogenerated) package.json script:

"regenerate": "yo swaggerize --only=handlers,models,tests --framework express --apiPath config\swagger.yaml"

Problematic part is the "config\swagger.yaml" - it should be "config/swagger.yaml" to work properly in Windows.

subeeshcbabu-zz commented 8 years ago

The next major version of the generator fixes most of the open issues including issues in Windows platform. @kibertoad - Can you try the RC version '3.0.0-rc.1' ? I will be publishing the 3.0.0 by next week if you want to wait for stable release.

subeeshcbabu-zz commented 8 years ago

generator-swaggerize@latest - version "3.0.0" - should have fixed the windows errors.