getExampleArrayValuesByItem
fun getExampleArrayValuesByItem(name: String, arraySchema: Schema<*>, itemSchema: Schema<*>, openAPI: OpenAPI, depth: Int = 0, visitedRefs: MutableSet<String> = mutableSetOf()): List<Any>
Produces an example array value from explicit array and item schemas.
Return
list of example items
Parameters
name
parameter name (used in error messages)
arraySchema
array schema containing constraints (minItems, uniqueItems)
itemSchema
schema for array items
openAPI
OpenAPI model used to resolve references
depth
current traversal depth
visitedRefs
set of visited $ref paths for circular reference detection