Package-level declarations

Types

Link copied to clipboard
data class GeneratorConfig(val logLevel: String? = null, val specFile: String? = null, val outputDir: String? = null, val generator: String? = null, val generatorOptions: Map<String, Any?>? = null, val testGenerationSettings: Map<String, Any?>? = null, val alwaysWriteTests: Boolean? = null)

YAML configuration model for the OpenAPI Test Generator.

Link copied to clipboard

Loads GeneratorConfig from a YAML file.

Link copied to clipboard

Validates ignore the configuration structure.

Link copied to clipboard

Type-safe wrapper for module settings storage.

Link copied to clipboard

Contract for extracting module-owned settings from testGenerationSettings.

Link copied to clipboard

Shared facade for wiring core test generation components from TestGeneratorExecutionOptions.

Link copied to clipboard

Explicit, reflection-free contract for contributing optional features to test generation.

Link copied to clipboard
data class TestGenerationSettings(val ignoreTestCases: Map<String, Any> = emptyMap(), val ignoreSchemaValidationRules: Set<String> = emptySet(), val ignoreAuthValidationRules: Set<String> = emptySet(), val maxSchemaDepth: Int = DEFAULT_MAX_SCHEMA_DEPTH, val overrideBasicTestData: Map<String, String> = emptyMap(), val maxMergedSchemaDepth: Int = DEFAULT_MAX_MERGED_SCHEMA_DEPTH, val maxSchemaCombinations: Int = DEFAULT_MAX_SCHEMA_COMBINATIONS, val maxTestCasesPerOperation: Int = DEFAULT_MAX_TEST_CASES_PER_OPERATION, val validSecurityValues: Map<String, String> = emptyMap(), val errorMode: ErrorMode = ErrorMode.COLLECT_ALL, val maxErrors: Int = DEFAULT_MAX_ERRORS, val exampleValues: ExampleValueSettings = ExampleValueSettings())

Typed settings for test case generation behavior.

Link copied to clipboard
data class TestGeneratorExecutionOptions(val specFile: String, val outputDir: Path, val generatorId: String, val generatorOptions: Map<String, Any?>, val testGenerationSettings: TestGenerationSettings, val alwaysWriteTests: Boolean, val moduleSettings: ModuleSettings = ModuleSettings.EMPTY)

Fully resolved options for a single test generation execution.

Link copied to clipboard

Factory that merges declarative GeneratorConfig with environment-specific TestGeneratorOverrides into fully resolved TestGeneratorExecutionOptions.

Link copied to clipboard
data class TestGeneratorOverrides(val logLevel: String? = null, val specFile: String? = null, val outputDir: Path? = null, val generatorId: String? = null, val generatorOptions: Map<String, Any?> = emptyMap(), val testGenerationSettings: Map<String, Any?> = emptyMap(), val alwaysWriteTests: Boolean? = null)

Generic overrides that can be merged with GeneratorConfig to produce TestGeneratorExecutionOptions.