I have searched on json schema with java bindings with inheritance and all searches led me to the usage of "allOf".
Using allOf would potentially solve my problem, but I am wondering if there is a construct in json schema that I can use which will generate my java code with real java inheritance "B extends A" - rather than inlining all properties from A inside B ?
I am wondering if this is even supported / doable or I am just dreaming. If not supported, I would be curious to know the reason.
See Question&Answers more detail:os