Prevent JsonSchema for type enumerated to become anyOf
Hello, when I have
How can I get the following schema instead:
type.enumerated('foo', 'bar').or(type.enumerated('foo', 'bar').array()).toJsonSchema(), the returned schema is:How can I get the following schema instead: