Swagger: Module is broken with @nestjs/[email protected]

Created on 10 Dec 2020  路  5Comments  路  Source: nestjs/swagger

I'm submitting a Bug report

Current behavior

After upgrading @nestjs/common to v7.6.0, swagger module doesn't work anymore. The problem is that in common package function validatePath was removed - https://github.com/nestjs/nest/commit/bead1f4a57c9ad1b8dd28ce620a05b3d4d518453#diff-a963f02276dde5355d25ee914a9e9f914b96f28b56f47806db68499fb1a2961eL8

on which Swagger module is relied on.

Environment

Nest version: 7.6.0
Nest Swagger: 4.7.5

Most helpful comment

Fixed in @nestjs/[email protected]

All 5 comments

i have this problem too

Same here

can anyone suggest a workaround?

@vtrphan Downgrade your @nestjs dependencies to version ~7.5.5, except @nestjs/swagger which I have at version ~4.7.5

Fixed in @nestjs/[email protected]

Was this page helpful?
0 / 5 - 0 ratings

Related issues

KatSick picture KatSick  路  3Comments

malbertSC picture malbertSC  路  5Comments

Diluka picture Diluka  路  4Comments

djedlajn picture djedlajn  路  4Comments

otroboe picture otroboe  路  3Comments