SchemaExampleValueGeneratorOptions
data class SchemaExampleValueGeneratorOptions(val maxExampleDepth: Int = DEFAULT_MAX_EXAMPLE_DEPTH, val includeOptionalExampleProperties: Boolean = DEFAULT_INCLUDE_OPTIONAL_EXAMPLES, val includeWriteOnly: Boolean = DEFAULT_INCLUDE_WRITE_ONLY, val useSchemaExampleFallback: Boolean = DEFAULT_USE_SCHEMA_EXAMPLE_FALLBACK)
Configuration options for SchemaExampleValueGenerator.
Controls the behavior of example value generation from OpenAPI schemas.
Properties
Link copied to clipboard
When true, includes optional properties that have explicit examples
Link copied to clipboard
When false, excludes writeOnly properties (appropriate for response examples)
Link copied to clipboard
Maximum depth for recursive schema traversal (default: 50)
Link copied to clipboard
When true, falls back to schema.examples and schema.default if no example found