Open PaulJohnson opened 2 years ago
Hey @PaulJohnson could you please specify what versions of aeson
and swagger2
you are using in the case?
@swamp-agr Good question. Unfortunately this is at work and I'm currently on leave. I'll update you next week.
swagger2-2.8.4 aeson-2.0.3.0
By default the generic
ToJSON
instance uses a tagged field, but the genericToSchema
uses a single constructor: