AbsaOSS / AbsaOSS/springdoc-openapi-scala

Inability to generate TS from Set[case class]

未關閉
#46 0 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
Scala
星號
2
分支
0
PR 合併指標
30 天內沒有已合併 PR

描述

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.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。