PatternSupportModule
class PatternSupportModule(patternGenerationOptions: PatternGenerationOptions = PatternGenerationOptions()) : TestGenerationModule
Optional pattern support module backed by regexp-gen.
Contributes:
Schema example provider id "pattern" that generates values matching
schema.patternNegative schema rule InvalidPatternSchemaValidationRule that generates non-matching values
Configuration is provided via PatternModuleSettingsExtractor (settings key patternGeneration).
The module is intentionally explicit: embedder code (CLI / Gradle plugin) must pass it to art.galushko.openapi.testgen.config.TestGenerationEngine to enable pattern-aware behavior.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun extraSimpleSchemaRules(options: TestGeneratorExecutionOptions): List<SimpleSchemaValidationRule>
Link copied to clipboard
open override fun schemaValueProviders(options: TestGeneratorExecutionOptions): Map<String, SchemaValueProvider>