Search code examples
swaggernestjsnrwl-nx

NRWL + NestJS Trying to use Swagger plugin


I am using NRWL, I used it to generate a Nestjs + angular app, however, I am missing the Nest-cli.json file where I am trying to add the line "plugins": ["@nestjs/swagger/plugin"] For the swagger properties. Does anyone know how to Add the nest-cli.json as required in this tutorial: https://docs.nestjs.com/openapi/cli-plugin


Solution

  • Seems like there is already an open BUG #2147 for the same issue and there are multiple solutions presented in the long on going discussion but none of them are full proof and some have side effects. Nonetheless I would highly recommend you to read discussion and monitor it.