Search code examples
node.jsswaggerswagger-uiswagger-2.0api-doc

Swagger API Documentation in NodeJS


I am facing the problem in setting up Swagger. How can I implement Swagger to in my node-express project to write API Doc for existing APIs? I have looked swagger, swagger-ui, and swagger-ui-dist npm packages. But not getting the desired output. I want to use Swagger UI but getting counfused in the confugurations. Can anybody tell me the step by step guide for the configuration? Need help.


Solution

  • After basic installation:

    Here is a STEP-BY-STEP guide.

    Hope this is what you are looking for.