I\'m have a modelthat is returned by 2 different endpoints in springboot appwith different data. Below is a simplified code to depict my problem.
class myModel{