AbsaOSS / AbsaOSS/springdoc-openapi-scala

Inability to generate TS from Set[case class]

Open
#46 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Scala
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.