I am trying to build an API based on openAPI 3.0 which is meant to provide communication between frontend (angular) and backend (java). Since i am using polymorphic types, f