Skip to content

Commit cf46bbf

Browse files
Update introduction.md
1 parent 2cee015 commit cf46bbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/openapi/introduction.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ As you can see, the `SwaggerModule` automatically reflects all of your endpoints
6464
> It is also possible to expose it on a route of your choice using only the setup method from `@nestjs/swagger`, like this:
6565
>
6666
> ```typescript
67-
> SwaggerModule.setup('swagger', app, document, {
67+
> SwaggerModule.setup('swagger', app, documentFactory, {
6868
> jsonDocumentUrl: 'swagger/json',
6969
> });
7070
> ```

0 commit comments

Comments
 (0)