nestjs-apidog-generator
v1.2.1
Published
CLI tool to convert NestJS DTOs into ApiDog-compatible JSON schemas
Maintainers
Readme
NestJS ApiDog Generator 🐶
This CLI tool converts NestJS DTO classes into ApiDog-compatible JSON schemas.
🚀 Installation
npm install -g nestjs-apidog-generator📦 Usage
nestjs-apidog-generator path/to/your-dto.tsIt will generate a JSON schema and place it under the ./api-dog/ folder.
🧩 Example
nestjs-apidog-generator src/users/dto/create-user.dto.tsCreates:
api-dog/create-user.dto.json🛠 Supported Decorators
Supports class-validator, class-transformer, and most common DTO patterns in NestJS.
📃 License
MIT
