As witnessed in https://github.com/absa-group/AUL/pull/2555#discussion_r1526457584, I was unable to generate TS code from an endpoint-definition featuring a root type of Set[RestrictedUserRepresentation] (RestrictedUserRepresentation is a simple case class).
Having provided a custom case class wrapper, e.g.
case class UsersResponse(users: Set[RestrictedUserRepresentation])
has worked as a workaround.
However, having direct support for a Set[caseclass] type would be welcome.