Skip to content

Commit

Permalink
Merge pull request nestjs#2826 from micalevisk/micalevisk-patch-1
Browse files Browse the repository at this point in the history
docs(faq): replace nestjs+swagger article by a gh issue
  • Loading branch information
kamilmysliwiec authored Aug 14, 2023
2 parents 26af736 + 373c133 commit f2e39d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/faq/serverless.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ export const handler: Handler = async (

> info **Hint** For creating multiple serverless functions and sharing common modules between them, we recommend using the [CLI Monorepo mode](/cli/monorepo#monorepo-mode).

> warning **Warning** If you use `@nestjs/swagger` package, there are a few additional steps required to make it work properly in the context of serverless function. Check out this [article](https://javascript.plainenglish.io/serverless-nestjs-document-your-api-with-swagger-and-aws-api-gateway-64a53962e8a2) for more information.
> warning **Warning** If you use `@nestjs/swagger` package, there are a few additional steps required to make it work properly in the context of serverless function. Check out this [thread](https://github.com/nestjs/swagger/issues/199) for more information.

Next, open up the `tsconfig.json` file and make sure to enable the `esModuleInterop` option to make the `@vendia/serverless-express` package load properly.

Expand Down

0 comments on commit f2e39d0

Please sign in to comment.