API docs that live in your NestJS repo
Keep the @nestjs/swagger decorators you already have. OrbitDocs turns them into a Scalar-style reference, adds MDX guides, a built-in API client, private docs, Ask AI and SDKs, and ships one site you host anywhere.
1@ApiTags('Bookings')2@Controller('v1/bookings')3export class BookingsController {4 /** Books seats on a flight for up to nine passengers. */5 @Post()6 @ApiOperation({ summary: 'Create a booking' })7 @ApiResponse({ status: 409, description: 'Flight is full.' })8 create(@Body() body: CreateBookingDto) {9 return this.bookings.create(body);10 }11}1213export class CreateBookingDto {14 @ApiProperty({ example: 'flt_2031_proxima' })15 flightId: string;16 @ApiProperty({ type: [PassengerDto], maxItems: 9 })17 passengers: PassengerDto[];18 @ApiPropertyOptional({ example: ['14A'] })19 seats?: string[];20}
Works with the stack you already run
From controller to docs site in three steps
No second source of truth. The docs read your Nest app the way Swagger does, then build a site you own.
Describe your API
Use the @nestjs/swagger decorators you already have, or add OrbitDocs extras for samples, errors and notes.
Extract the spec
orbitdocs extract boots your module in Nest's preview mode. No provider starts, so no database or queue is touched.
Ship the site
orbitdocs build writes a static site for any host, or serve it from your own Nest app with private docs and Ask AI.
One site for everything your developers need
Reference, client, guides, AI and access control share one navigation, one search and one theme.


Every feature, free, on your own servers
No account, no pricing tier, nothing behind a paywall. Turn on what you need in one config file.
An existing Nest app to a docs site in one command
orbitdocs init adds a docs app next to your API and asks which routes to show: only the ones you mark, or everything @nestjs/swagger already documents.
Everything Scalar sells, on your own servers
Scalar's reference and client are open source; its docs, registry, SDK and MCP products are hosted only. OrbitDocs gives you all of them to run yourself.
Try it on a real API
Orbit Travel is a sample NestJS API documented with OrbitDocs: bookings, payments, seats, loyalty and webhooks.
Ship docs your developers want to read
Five minutes from an existing NestJS app to a searchable, deployable docs site.