PlainStringValueProvider

class PlainStringValueProvider(val validCharsString: String = DEFAULT_VALID_CHARS_STRING) : SchemaValueProvider

Provides plain string values for string schemas without specific format.

Generates varied strings using base-62 encoding based on variationIndex.

Constructors

Link copied to clipboard
constructor(validCharsString: String = DEFAULT_VALID_CHARS_STRING)

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.