/nestjs-swagger-902

Repo to reproduce https://github.com/nestjs/swagger/issues/902

Primary LanguageTypeScript

NxSwagger

Repo to reproduce 902: Typescript Enum array raises CircularDependencyError

init nestjs swagger

npm install --save @nestjs/swagger swagger-ui-express

use nestjs swagger cli plugin

{
  "compilerOptions": {
    "plugins": ["@nestjs/swagger/plugin"]
  }

nest-cli vs. webpack

Note, that the issue does not occur in this repo (with nest-cli).
It only occurs when we use webpack: see https://github.com/tmtron/nx-swagger

example

example code from: https://github.com/nestjs/nest/tree/master/sample/11-swagger/src

start