I use the swagger plugin from nestjs to annotate all dto models for swagger, but it selects the *.entity.ts models too.
My nest-cli.json:
{
"$schema": "https://json.schemastore.org/nest-cli",
"collection": "@nestjs/schematics",
"sourceRoot": "src",
"compilerOptions": {
"plugins": [
{
"name": "@nestjs/swagger",
"options": {
"dtoFileNameSuffix": [".dto.ts"]
}
}
]
}
}
Is there any way I can force the plugin to ignore the entity models?