Skip to content

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 04 Feb 14:55
· 67 commits to main since this release

Initial release of nestjs-openapi - static OpenAPI generation for NestJS applications using TypeScript AST analysis. No build step, no app bootstrap required.

Features

  • Static analysis of NestJS controllers and modules via ts-morph
  • Full support for routing decorators (@Controller, @Get, @Post, etc.)
  • Swagger decorator support (@ApiTags, @ApiOperation, @ApiResponse, etc.)
  • Security decorator support (@ApiBearerAuth, @ApiOAuth2, etc.)
  • class-validator constraint extraction
  • Multiple entry module support
  • Config inheritance via extends
  • OpenAPI 3.0.3, 3.1.0, and 3.2.0 output
  • JSON and YAML output formats
  • Optional NestJS module to serve the generated spec at runtime
  • Query DTO inlining as individual parameters
  • Zero-config schema discovery