lmammino / swagger-jsdoc-generator

Command line script that generates a swagger file based on jsdoc comments
https://lmammino.github.io/swagger-jsdoc-generator/
MIT License
21 stars 4 forks source link

swagger-jsdoc-generator is not generating into the file #8

Closed rishat5081 closed 2 years ago

rishat5081 commented 2 years ago

Hi folks, Hope you are all doing well. I am new to swagger-jsdoc-generator I want the generator to generate it to the file rather than printing all on the command line

I have used this command as mentioned in the doc but still not working.

swagger-jsdoc-generator config.js | mySwaggerDoc.json

Thanks in advance

lmammino commented 2 years ago

Have you tried the following?

swagger-jsdoc-generator config.js > mySwaggerDoc.json

Hopefully this helps

rishat5081 commented 2 years ago

Have you tried the following?

swagger-jsdoc-generator config.js > mySwaggerDoc.json

Hopefully this helps

Thank you it works