Given the following property...
@ApiModelProperty(value = "Whether this is the default address", dataType = "boolean", required = false)
def isDefault: Option[Boolean]
... Swagger renders it like this:
default (Object, optional): Whether this is the default address
On the other hand if I modify the property like this...
@ApiModelProperty(value = "Whether this is the default address", dataType = "boolean", required = false)
def isDefault: Boolean
... then Swagger renders it correctly:
default (boolean, optional): Whether this is the default address
Is there any way to map Option[Boolean] to boolean?
tx