nestjs/swagger

nest版本10.0.0, swagger版本5.2, 运行报错

nzjcnjzx opened this issue · 1 comments

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

const denormalizedArray = [...routes.values()].map((ctrl) => this.explorer.exploreController(ctrl, applicationConfig, modulePath, globalPrefix, operationIdFactory));
^
TypeError: Cannot read properties of undefined (reading 'values')

Minimum reproduction code

https://github.com/nestjs/swagger

Steps to reproduce

No response

Expected behavior

能正常运行

Package version

5.2.0

NestJS version

10.0.0

Node.js version

16.14.0

In which operating systems have you tested?

  • macOS
  • Windows
  • Linux

Other

No response

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.