I have the next code in my Spring Boot app:
@Schema(description = "Example field",
anyOf = {
ExampleResponse.class,
AnotherExampleResponse.class
}
)
private Object field;
and I expect that there should be two optional types in swagger-ui. But there is no types at all. What am I doing wrong?
