Decorators
Every decorator exposed by NestJS CRUD Automator now has a dedicated reference page. Use this overview to decide which category to explore and jump directly to the detailed guides.
How to choose the right decorator
Controller decorators
Use these to configure controller-level behavior such as CRUD scaffolding, observability, and authorization requirements.
Visit /docs/nestjs-crud-automator/api-reference/decorators/api-controller.
Service decorators
Automate service CRUD implementations and enable subscriber observability at the service layer.
Visit /docs/nestjs-crud-automator/api-reference/decorators/api-service.
Method decorators
Combine route metadata, guards, throttling, and Swagger documentation for manual controller methods.
Visit /docs/nestjs-crud-automator/api-reference/decorators/api-method.
Function decorators
Wrap repository operations inside services with consistent behavior, DTO typing, and subscriber hooks.
Visit /docs/nestjs-crud-automator/api-reference/decorators/api-function.
Property decorators
Describe DTO fields in detail, enforce validation, and reuse entity metadata when building manual DTOs.
Visit /docs/nestjs-crud-automator/api-reference/decorators/api-property.
Subscriber decorators
Register class-based subscribers that intercept controller or service lifecycles.
Visit /docs/nestjs-crud-automator/api-reference/decorators/api-subscriber.
Authorization decorators
Attach authorization policies that run before every generated route for a specific entity.
Visit /docs/nestjs-crud-automator/api-reference/decorators/api-authorization.
Related references
- Classes – Base classes reference
- Interfaces – Type definitions
- Enums – Enumeration values