ExampleValueSettings

data class ExampleValueSettings(val providers: List<String> = DEFAULT_PROVIDER_ORDER, val maxExampleDepth: Int = SchemaExampleValueGeneratorOptions.DEFAULT_MAX_EXAMPLE_DEPTH, val uuid: UuidProviderSettings = UuidProviderSettings(), val email: EmailProviderSettings = EmailProviderSettings(), val date: DateProviderSettings = DateProviderSettings(), val dateTime: DateTimeProviderSettings = DateTimeProviderSettings(), val plainString: PlainStringProviderSettings = PlainStringProviderSettings())

Configuration for schema example value generation.

Controls how synthetic test data is generated from OpenAPI schemas when building valid baselines and when providers need schema-derived values.

Constructors

Link copied to clipboard
constructor(providers: List<String> = DEFAULT_PROVIDER_ORDER, maxExampleDepth: Int = SchemaExampleValueGeneratorOptions.DEFAULT_MAX_EXAMPLE_DEPTH, uuid: UuidProviderSettings = UuidProviderSettings(), email: EmailProviderSettings = EmailProviderSettings(), date: DateProviderSettings = DateProviderSettings(), dateTime: DateTimeProviderSettings = DateTimeProviderSettings(), plainString: PlainStringProviderSettings = PlainStringProviderSettings())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Date provider settings.

Link copied to clipboard

Date-time provider settings.

Link copied to clipboard

Email provider settings.

Link copied to clipboard

Maximum depth for recursive schema traversal while generating examples.

Link copied to clipboard

Plain string provider settings.

Link copied to clipboard

Ordered list of provider IDs. The first matching provider wins. Omit a provider to disable it.

Link copied to clipboard

UUID provider settings.