Incorrect error response when using @JsonTypeInfo and @JsonSubTypes annotations. Getting incorrect amount of type ids in error response
I have a Rest Controller with a single post endpoint looking like this and I want to be able to receive two different requests with different fields: