AbsaOSS / AbsaOSS/rest-api-doc-generator
Option[Long] is generated as "object", should be "integer"
Open
bug
- Dominant language
- Scala
- Stars
- 3
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
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]]
)
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.