UuidValueProvider

class UuidValueProvider(val uuidTemplate: String = DEFAULT_UUID_TEMPLATE) : SchemaValueProvider

Provides UUID values for string schemas with format "uuid".

Generates varied UUIDs based on variationIndex.

Constructors

Link copied to clipboard
constructor(uuidTemplate: String = DEFAULT_UUID_TEMPLATE)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

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

Attempts to provide an example value for the given schema.