Trying to skip one level when generating Json from wrapper class that contains two classes
So I have this domain class in a spring boot app for a REST API, that contains two subdomain objects:
So I have this domain class in a spring boot app for a REST API, that contains two subdomain objects: