A route group organizes related minimal API endpoints under one route prefix and shared endpoint configuration. It removes repeated path segments and repeated filter registration, keeping endpoint definitions easier to read. section 5.5
Group fruit endpoints
Create a group with `RouteGroupBuilder fruitApi = app.MapGroup("/fruit")`. Map endpoints on `fruitApi` instead of `app`; their routes inherit `/fruit`. Create a nested group with `fruitApi.MapGroup("/").AddEndpointFilter(ValidationHelper.ValidateIdFactory)` so related endpoints share ID validation. section 5.5
