Swagger broken with @nestjs/swagger@next
See original GitHub issueHi.
This is more an information than an issue.
I tried to upgrade to @nestjs/swagger@next (because of this issue : https://github.com/nestjs/swagger/issues/63) but it seems to be a refactor that breaks a lot of things. At least, ApiModelProperty has been renamed to ApiProperty so I have this error :
.../node_modules/@nestjsx/crud/lib/crud/validation.helper.js:23
ApiModelProperty(options)(target, propertyKey);
^
TypeError: ApiModelProperty is not a function
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:13 (4 by maintainers)
Top Results From Across the Web
Using 5.0.0 @nestjs/swagger would break the nest app #7499
Bug Report Hi, I just started to use Nest.js + Swagger and not sure if this is a bug. I follow the docs...
Read more >node.js - Swagger UI route giving 404 Not found error - NestJs ...
But, when I deployed the nestjs build on server (AWS with Apache server), the same route is not working. In nestjs "main.ts" file,...
Read more >@nestjs/swagger - npm
Nest - modern, fast, powerful node.js web framework (@swagger). Latest version: 6.1.4, last published: 19 days ago.
Read more >A Guide to NestJS Swagger Configuration - Bits and Pieces
In this blog, we are doing a Swagger Configuration with NestJS, and we will learn how ... const app = await NestFactory.create(AppModule);
Read more >Swagger API Documentation Tips and Tricks in NestJS - Trilon
If you're using NestJS, there is a wonderful @nestjs/swagger module in the NestJS ecosystem that will help us a lot here!
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@zMotivat0r https://www.npmjs.com/package/@nestjs/swagger new version released. now is
4.0.4
Hi I’m facing the same issue with swagger 4.0.9 and crud 4.2.0. It’s still not fixed.