commands
Array of command classes to mount to this aggregate root.
This parameter enables command rewriting scenarios where commands can be transformed, validated, or enriched before being processed by the aggregate. It also generates corresponding command routes in OpenAPI documentation for API clients.
Commands listed here will be automatically associated with this aggregate root, even if they're not directly handled by @OnCommand methods.