Skip to content

OpenAPI Test Generator

openapi-testgen wordmark openapi-testgen wordmark

Deterministic negative and positive test generation from OpenAPI and Swagger specs. The project ships a CLI, a Gradle plugin, and a set of reusable Kotlin modules for generation, value providers, and artifact output.

Generated tests validate infrastructure-level behavior defined by your OpenAPI contract: parameter validation, request-body constraints, and security enforcement. They do not replace business-logic tests.

Start here