Open kokorin opened 3 years ago
there is no common agreement on how to handle either.. i believe different json-libs do it different way. not sure all of them even provide necessary support
so for your case i think the best approach would be to provide custom schema. for that please check joda-time module. there are some examples there
Describe the bug With
Either[String, Person]
schema is generated with extra propertiesa
andb
To Reproduce
Expected behavior
Actual results
Versions: