AbsaOSS / AbsaOSS/springdoc-openapi-scala

Inability to generate TS from Set[case class]

Aperta
#46 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Scala
Stelle
2
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.