O'Reilly logo

Hands-On Full Stack Web Development with Aurelia by Erikson Haziz Murrugarra Sifuentes, Diego Jose Arguelles Rojas

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing Swagger

Let's start getting our most important dependency, Swagger. Remember that we will use NPM to download Swagger, because we will use it on a ExpressJS API. Swagger has its own implementation depending on the platform you need to document.

There are two very famous swagger implementations to integrate with an ExpressJS application:

  • swagger-node-express
  • swagger-ui-express

The swagger-node-express is the official Swagger module for Node. Some of the most interesting (and not so) characteristics of this library are as follows:

  • Official distribution of the Swagger API. We are fully supported by an organization working actively on the development of the product.
  • It is open source.
  • Comes with Swagger Editor and Swagger Codegen. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required