AbsaOSS / AbsaOSS/rest-api-doc-generator
Option[Long] is generated as "object", should be "integer"
Đang mở
bug
- Ngôn ngữ chính
- Scala
- Star
- 3
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Failing unit test:
class `DocGeneratorSpec`:
```scala
it should "generate Option[Long] correctly" in {
swaggerJson should include(""""long":{"type":"integer","format":"int64"}""")
swaggerJson should include(""""maybeLong":{"type":"integer","format":"int64"}""")
}
...
case class Foo(
long: Long,
maybeLong: Option[Long],
maybeBar: Option[Seq[Bar]],
seqOfBars: Seq[Seq[Bar]]
)
```
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á.