Skip to content

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

Open
@wajda

Description

@wajda

Failing unit test:
class DocGeneratorSpec:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions