floratmin
Aarktype
•Created by floratmin on 5/21/2025 in #questions
Prevent JsonSchema for type enumerated to become anyOf
Hello, when I have
type.enumerated('foo', 'bar').or(type.enumerated('foo', 'bar').array()).toJsonSchema()
, the returned schema is:
How can I get the following schema instead:
1 replies