Skip to content

Swagger UI Express

Status: stable manifest, alpha project support
Setup maturity: configure
Capability: api-documentation

Terminal window
avis add api-documentation
avis add swagger
avis add swagger-ui-express
  • Express
  • Node package managers: npm, pnpm, yarn, bun

Avis installs Swagger UI Express and creates a starter OpenAPI module that can be mounted by an Express application.

This is configure-level support. Avis verifies dependency and starter module presence, but the route mount and schema design remain project-specific.

  • mounting the docs route in the app
  • writing or generating the OpenAPI schema
  • protecting internal docs in production
  • documenting authentication and error responses