tsoa: TypeScript OpenAPI Framework

JSON →
library 7.0.0-alpha.0 ·javascript
verified May 27, 2026

tsoa is a powerful TypeScript-first framework designed to streamline the creation of REST APIs by automatically generating OpenAPI (formerly Swagger) documentation and client SDKs directly from your existing TypeScript code. It employs decorators and standard TypeScript types to define API routes, request bodies, query parameters, and response structures. A critical step involves a code generation phase that produces both the OpenAPI specification and the concrete route registration logic for popular Node.js frameworks such as Express, Hapi, and Koa. The project exhibits an active development cycle, with consistent minor releases every few months, and has recently released a v7 alpha that introduces support for OpenAPI 3.1.0 and updated Node.js version requirements. Its key differentiator is the "code-first" approach, eliminating the need to manually maintain separate OpenAPI definitions by deriving them directly from the TypeScript source, ensuring strong type consistency between API implementation and documentation. The current stable version is v6.6.0.

total hits 16
actors 6 distinct systems
last hit 2d ago AhrefsBot
GPTBot
5
MetaBot
4
Script
2
Search engines
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany · 🇮🇳 India