diff --git a/content/openapi/introduction.md b/content/openapi/introduction.md index ac6d1ce992..91c9f726f4 100644 --- a/content/openapi/introduction.md +++ b/content/openapi/introduction.md @@ -10,6 +10,12 @@ To begin using it, we first install the required dependency. $ npm install --save @nestjs/swagger ``` +> warning **Warning** When using `fastify` you also need to instal `@fastify/static`: +> +> ```bash +> $ npm install --save @fastify/static +> ``` + #### Bootstrap Once the installation process is complete, open the `main.ts` file and initialize Swagger using the `SwaggerModule` class: