This is a quickly made generator that loops trough all documents in a specified folder and makes
swagger documentation for all files that use express. It will take out all the "req.body" values
and the route of the API (example: 'api/account/get-user-data').I
Makes simple swagger documentation for Express API files.
You can choose your own input (where the API files are) and output (where the documentation will be saved) folder.
In vscode press CTRL+SHIFT+P to open the commands and type swagger-generator and press enter.
The program will run trough your swaggergen.inputPath folder. It will then
scoop out all the req.body variables and the route of the API call.
The results will be placed in the swaggergen.outputPath folder, in a file called swagger.json.