generic
Creates a generic property definition without specific type constraints.
Use this for properties that can be any type or have heterogeneous values.
Example
property("flexibleValue") {
generic {
description = "Can be any JSON type"
enum = listOf(
1,
"text",
true,
JsonArray(emptyList())
)
}
}Content copied to clipboard