fix: swagger property

This commit is contained in:
Innei
2021-08-31 22:14:50 +08:00
parent 70c306578c
commit 7fec9c8857
5 changed files with 107 additions and 14 deletions

View File

@@ -1,5 +1,19 @@
{
"collection": "@nestjs/schematics",
"sourceRoot": "src",
"compilerOptions": {}
}
"compilerOptions": {
"plugins": [
{
"name": "@nestjs/swagger",
"options": {
"classValidatorShim": false,
"introspectComments": true,
"dtoFileNameSuffix": [
".dto.ts",
".model.ts"
]
}
}
]
}
}