Skip to content

Modules

This repository is a Gradle composite build made of small, focused Kotlin modules. Most users interact through the CLI or the Gradle plugin, both of which depend on distribution-bundle.

Dependency direction (high level)

modelexample-valuecore → (feature modules) → distribution-bundlecli / plugin

See also: Architecture.

Module catalog

  • model: shared data model (TestCase, TestSuite, Outcome, GenerationReport)
  • example-value: schema-derived example value generation (standalone library + SPI)
  • core: OpenAPI parsing + generation engine + built-in generator (test-suite-writer)
  • pattern-value: regex-based value generation (standalone, no core dependency)
  • pattern-support: integrates pattern-value into core as an optional module
  • generator-template: Mustache-based code generation (template generator module)
  • distribution-bundle: shared runner + defaults used by CLI and Gradle plugin
  • plugin: Gradle plugin (generateOpenApiTests, openApiTestGenerator { ... })
  • cli: Picocli-based CLI (openapi-testgen)

Modules

This repo is a Gradle composite build with multiple modules. Each module has a focused responsibility.

Module overview