nestjs / swagger

OpenAPI (Swagger) module for Nest framework (node.js) :earth_americas:

Home Page:https://nestjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When I use SWC compilation, the service will restart twice

liaorg opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

nest start -w -b swc --type-check

$EUQ@OD$3@{HS60EF4}$ACQ

Minimum reproduction code

https://github.com/liaorg/dasplus

Steps to reproduce

No response

Expected behavior

restart once

Package version

^7.3.0

NestJS version

^10.3.3

Node.js version

v18.14.1

In which operating systems have you tested?

  • macOS
  • Windows
  • Linux

Other

No response

DTO not recognized in the document
2$IO ID70 BPN8TQ6C8}_VE

nest-cli.json

....
"plugins": [
{
"name": "@nestjs/swagger",
"options": {
"dtoFileNameSuffix": [".dto.ts"],
"classValidatorShim": false,
"introspectComments": true,
"controllerKeyOfComment": "summary",
"debug": false
}
}
]
....

Thank you for taking the time to submit your report! From the looks of it, this could be better discussed on our Discord. If you haven't already, please join here and send a new post in the #⁠ 🐈 nestjs-help forum. Make sure to include a link to this issue, so you don't need to write it all again. We have a large community of helpful members, who will assist you in getting this to work.