example-swagger-autogen-using-router

Install the dependencies:

$ npm install

Use the command below to generate the documentation at project startup:

$ npm run start-gendoc

Use the command below to start the project without generating the documentation:

$ npm start

Run the project and access the documentation at:

http://localhost:3000/doc

Screenshot

See the result after construction:

License

MIT License