Overview of tsoa
mastertsoa is a tool for building OpenAPI-compliant REST APIs using TypeScript and Node. It uses TypeScript controllers and models as the single source of truth to automatically generate a valid OpenAPI specification (version 2.0 or 3.0) and routes for middleware like Express, Hapi, or Koa.
Key features include:
- Automatic generation of OpenAPI paths, definitions, and parameters based on TypeScript types.
- Support for jsDoc to provide object descriptions.
- Automatic route generation and request payload validation.
- Support for both interfaces and classes as models.