Node,Nest,NextJS
Nestia, Automatic SDK and Swagger generator for the NestJS
수알치
2022. 6. 5. 22:21
Nestia, Automatic SDK and Swagger generator for the NestJS
Automatic SDK and Swagger generator for the NestJS, evolved than ever.
- Github: https://github.com/samchon/nestia
- NPM: https://www.npmjs.com/package/nestia
- Guide Documents: https://github.com/samchon/nestia/wiki
Nestia is an evolved SDK and Swagger generator, which analyzes your NestJS server code in the compilation level. With nestia and compilation level analyzer, you don't need to write any swagger or class-validator decorators. All you need to do is use the nestia CLI as shown below.
Reading wiki contents, feel how the "compilation level" makes nestia stronger.
Componentsnestia::SDKnestia::swagger@nestjs/swagger
Pure DTO interface | ✔ | ✔ | ❌ |
Description comments | ✔ | ✔ | ❌ |
Simple structure | ✔ | ✔ | ✔ |
Generic type | ✔ | ✔ | ❌ |
Union type | ✔ | ✔ | ▲ |
Intersection type | ✔ | ✔ | ▲ |
Conditional type | ✔ | ▲ | ❌ |
Auto completion | ✔ | ❌ | ❌ |
Type hints | ✔ | ❌ | ❌ |
2x faster JSON.stringify() | ✔ | ❌ | ❌ |
Ensure type safety | ✅ | ❌ | ❌ |
https://github.com/samchon/nestia/wiki
GitHub - samchon/nestia: Automatic SDK and Swagger generator for the NestJS
Automatic SDK and Swagger generator for the NestJS - GitHub - samchon/nestia: Automatic SDK and Swagger generator for the NestJS
github.com
반응형