AbsaOSS / AbsaOSS/springdoc-openapi-scala
Support for case classes with generic type parameters
Đang mở
enhancement
- Ngôn ngữ chính
- Scala
- Star
- 2
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
For example for:
```scala
case class Response[T](data: Seq[T], pageInfo: PageInfo)
```
where only couple of concrete types are used and registered, for example:
```scala
openAPIModelRegistration.register[Response[A]]
openAPIModelRegistration.register[Response[B]]
```
we could generate number of OpenAPI schema components equal to the number of concrete types, for example with naming convention `______...__`, so in this case `Response__A` and `Response__B`.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.