I'm using the allOf keyword in order to do inheritence. I have a basic 'ServerResponse' object and two different object that extend it (essentially the body, but it is to be combined with the server response fields). the yaml looks like this
when i generate a java client and combine it with springboot and attempt to make a call using the api, It tells me that it couldnt find the discriminator "". I've looked over the Dog/Cat?lizard example and understand how that works, but is there any way to just use allOf (or oneOf) to simply inherit one class to another without the need for a discriminator?