Module: model¶
The model module contains the canonical data structures produced by generation and consumed by generators (codegen, test-suite writer, reporting).
Depends on¶
- None
Used by¶
example-value,core,distribution-bundle,plugin,cli, and feature modules
Key types¶
TestSuite: operation-level container for generated test casesTestCase: a single generated case (request data + expected status/body + metadata)Outcome<T>: success / partial success / failure value typeGenerationReport/GenerationError: structured reporting payloadsErrorMode/ErrorHandlingConfig: fail-fast vs collect-all behavior
API reference¶
- Local Dokka output:
docs/api/openapi.testgen.model/index.html
Related docs¶
- Model reference:
- TestSuite
- TestCase
- Errors
- Concepts:
- Error handling
Model module¶
Overview¶
model contains the shared data model types used across all modules (core, generators, CLI, and Gradle plugin).
Key types¶
TestSuite: a suite ofTestCaseobjects produced per OpenAPI operation.TestCase: a single test scenario including request data and expected outcome.- Error model types used for reporting generation failures and partial successes.