Skip to content

Commit d7744e9

Browse files
Merge pull request #3199 from laerciobernardo/patch-1
docs(@nestjs/swagger): update document reference for json-api
2 parents 2cee015 + cf46bbf commit d7744e9

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)