provide

open override fun provide(schema: Schema<*>, variationIndex: Int): Any?

Attempts to provide an example value for the given schema.

Return

example value matching the schema, or null if this provider cannot handle the schema

Parameters

schema

the OpenAPI schema to generate a value for

variationIndex

index used to generate varied values for uniqueness