Skip to content

Commit 8d9ffc1

Browse files
Merge pull request #1876 from Zerotask/patch-2
docs: added filename for OpenAPI bootstrap example
2 parents 02a10fa + f78c279 commit 8d9ffc1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

content/openapi/introduction.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ $ npm install --save @nestjs/swagger fastify-swagger
2121
Once the installation process is complete, open the `main.ts` file and initialize Swagger using the `SwaggerModule` class:
2222

2323
```typescript
24+
@@filename(main)
2425
import { NestFactory } from '@nestjs/core';
2526
import { SwaggerModule, DocumentBuilder } from '@nestjs/swagger';
2627
import { AppModule } from './app.module';

0 commit comments

Comments
 (0)