swagger
nest-cli
swagger | nest-cli | |
---|---|---|
5 | 2 | |
1,609 | 1,888 | |
0.9% | 0.7% | |
9.6 | 9.6 | |
5 days ago | 5 days ago | |
TypeScript | TypeScript | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
swagger
-
Can you tell me what's the difference of using @nestjs/swagger instead of class-validators for DTO validation? thank you
Yeah the API is very similar but they serve different purposes as you mention here. It looks like there's been some discussion about aligning them since other people have had a similar observation.
-
NestJS + esbuild workarounds
1. openapi is not defined. https://github.com/nestjs/swagger/issues/1450
-
decorators
The repository for every optional NestJS package that has decorators seems to consistently put them in /lib/decorators. For example, here are the NestJS Swagger decorators.
-
OpenAPI Specification: The Complete Guide
NestJS provides a dedicated module which allows generating OpenAPI (Swagger) - Github - nestjs/swagger
-
Announcing Ditsmod 2.0 beta (with RealWorld example)
Thanks to the system of extensions, Ditsmod applications are more expressive and with less code. For example, if you compare OpenAPI modules written in Ditsmod and NestJS, the Ditsmod module is 3.5 times smaller in the number of lines of code or the number of files.
nest-cli
-
NestJS + esbuild workarounds
https://github.com/nestjs/nest-cli/issues/1157 https://github.com/evanw/esbuild/pull/509 https://github.com/evanw/esbuild/issues/566
-
How new version of NPM package "colors" broke millions of installs
We ran into this last night with the @nestjs/cli. The code itself doesn't depend on colors, but cli-table3, which we had a pinned version of did depend on colors, and didn't have the dependency pinned. So when 1.4.2 was released, introducing the bug, we go flooded with reports that nest new and nest help started failing all of a sudden. Fortunately, cli-table3 had a patch to downgrade the colors dependency, and are looking at removing it altogether, but the cascading effect was quite annoying to deal with.
What are some alternatives?
springfox - Automated JSON API documentation for API's built with Spring
pigeon-mqtt-nest - Pigeon-MQTT-Nest is a lightweight and easy-to-use library that provides a simple MQTT broker for your NestJS applications. With this library, you can easily integrate MQTT messaging into your NestJS application and communicate with MQTT clients using topics and messages.
drf-spectacular - Sane and flexible OpenAPI 3 schema generation for Django REST framework.
typeorm - TypeORM module for Nest framework (node.js) 🍇
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
etro - Typescript video-editing framework for the browser
nestjs-otel - OpenTelemetry (Tracing + Metrics) module for Nest framework (node.js) 🔭
nestjs-course-task-management - Task Management back-end application developed throughout the "NestJS Zero to Hero - Modern TypeScript Back-end Development" Udemy course
realworld - "The mother of all demo apps" — Exemplary fullstack Medium.com clone powered by React, Angular, Node, Django, and many more
nestjs-hexagonal-example - Building a hexagonal architecture (port-adapter) services in nestjs, this project is open source, with explaination and example.
axios - Axios module for Nest framework (node.js) 🗂
nestjs-shell - 🐚 An interactive shell for NestJS which allows you to plug-in your custom commands and use them when the app's running