So recently i ran into some weird issues using swagger:
On my laptop registering the plugin in the nest config generated the schemas properly for all .dto.ts and .entity.ts files but once i tried it on my desktop computer it stopped working and now i need to annotate each property using @frigid wharfProperty().
Config:
{
"$schema": "https://json.schemastore.org/nest-cli",
"collection": "@nestjs/schematics",
"sourceRoot": "src",
"deleteOutDir": true,
"compilerOptions": {
"plugins": [
{
"name": "@nestjs/swagger",
"options": {
"classValidatorShim": false,
"introspectComments": true
}
}
]
}
}