I am facing one issue when I have downloaded your sample project. Run command i.e
swagger-jsdoc-generator fixtures/expectedSwagger.json
Below error I am getting.
Error: 'swaggerDefinition' is required.
at module.exports (C:\Users\ei11037\AppData\Roaming\npm\node_modules\swagger-jsdoc-generator\node_modules\swagger-jsdoc\lib\index.js:94:11)
I want to get swagger file in separate json or yaml file.
I am facing one issue when I have downloaded your sample project. Run command i.e swagger-jsdoc-generator fixtures/expectedSwagger.json Below error I am getting.
Error: 'swaggerDefinition' is required. at module.exports (C:\Users\ei11037\AppData\Roaming\npm\node_modules\swagger-jsdoc-generator\node_modules\swagger-jsdoc\lib\index.js:94:11)
I want to get swagger file in separate json or yaml file.
Please help.
Regards, Amit