AbsaOSS / AbsaOSS/rest-api-doc-generator

Option[Long] is generated as "object", should be "integer"

オープン
#6 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Scala
スター
3
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

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]]
)
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。