Documenting a REST API using swagger

  • Ensure that you have node.js installed on your computer.

  • Install the dependencies

npm install
  • Start the development server
npm run dev
  • View the docs from here