What problem does it solve?
Efficiently scaffolds a new API endpoint in the OMS backend by standardizing DTOs, services, and controllers to reduce boilerplate and ensure consistent ownership and security patterns.
Core Features & Use Cases
- Scaffolds DTOs: Create {EntityName}Dto, Create{EntityName}Dto, Update{EntityName}Dto, and optional Query DTOs.
- Generates service with OrgId scoping, AutoInject, and async methods for CRUD operations.
- Builds controller with standard API routes and authorized access, enforcing Org ownership checks on queries and mutations.
- Ensures all data access is filtered by current OrgId and supports transactional operations for multi-table changes.
- Provides XML documentation and error handling scaffolds.
Quick Start
Follow the steps to scaffold a new API endpoint: name the entity, generate DTOs, implement the service with OrgId filtering and AutoInject, create the controller, and wire everything together.