class ApiWith[G]
An HttpApi that has the group G. A parameter api: HttpApi[G] beside group: type[G] would widen G to take any
group (HttpApi is covariant); matched through _has_group, the
api's groups bound G from above, so a group it lacks is an error.