generate_dto
Generates Request/Response DTOs with validation annotations and MapStruct mapper from entity name and field definitions.
Instructions
Generate Request/Response DTOs with validation annotations and MapStruct mapper
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | DTO fields with validations | |
| entityName | Yes | Entity name in PascalCase | |
| withMapper | No | Generate MapStruct mapper interface | |
| packageName | No | Base package name | com.example.demo |