Skip to content

tsoa-next

OpenAPI-compliant REST APIs using TypeScript and Node

Generate OpenAPI from TypeScript without drift

tsoa-next keeps your controllers, runtime validation, generated routes, and OpenAPI output aligned so API docs stay accurate as your code evolves.

The docs here cover setup, generation, decorators, validation, file uploads, authentication, dependency injection, and template customization for Express, Koa, Hapi, and related server stacks.

What teams use tsoa-next for

  • Generate OpenAPI 2 and OpenAPI 3 specs directly from TypeScript controllers and models
  • Produce framework-aware route handlers for Express, Koa, Hapi, and custom templates
  • Enforce runtime request validation that matches the generated schema contract
  • Document authentication, examples, descriptions, and annotations in one maintainable workflow

TypeScript-first OpenAPI generation, route generation, and runtime validation.