Anton Koscejev
Anton Koscejev
Here's another small improvement to the workaround. It's not necessary to call the constructor with values for all the fields that have defaults, but at least 1 field is required...
I'm a new contributor. ICLA confirmation code 168920160323094307.
Thanks @dodecaedro for rebase.
After playing around with it a bit more, I found out that if there's no parent or if the intended parent is not the first in "allOf" list, then const...
Thanks for a very informative reply! Regarding kjson library, I think we could take a look into using it, but ultimately one of the reasons we're using Jackson is that...
Regarding changing order of properties. I found a somewhat interesting workaround. If I only mark "type" property as required in parent, but don't actually define it, then I can define...
Regarding polymorphism using `const`. I also tried another approach, which could theoretically provide enough information for a deserialization framework to know which types are possible to deserialize to. Perhaps there...
> I am considering adding a configuration option to allow annotations to be added to classes or fields, but that is probably some way in the future. Sounds good! Specifically...
I couldn't make it generate `interface`, but after your comment I tried a bit more thoroughly and it turns out it's not enough that there are no fields, I also...
Thanks for the note. I'll definitely try it out when I get back to the original initiative. Btw, I did end up using your kjson lib already for a small...