JSON to class-validator
Generate TypeScript class with class-validator decorators from JSON
Supported Decorators
- • @IsString, @IsNumber, @IsInt, @IsBoolean - Basic types
- • @IsArray - Array validation
- • @IsEmail - Email format detection
- • @IsUrl - URL format detection
- • @IsOptional - Null values
- • @ValidateNested - Nested objects
- • @Type - Class transformation
- • @Min - Number constraints