Skip to main content
Back to Projects

OpenAPI Test Generator

Architect and Developer

A modular monorepo that parses OpenAPI specifications and generates API validation tests. TestCaseProviders build cases for parameters, request bodies, and authentication, while rules encode OpenAPI constraints (required fields, min/max, patterns, enums, and security schemes). Outputs include Mustache-based code generation (Java/Kotlin tests) and JSON/YAML for data-driven runners. Ships as a Gradle plugin and a fast CLI with GraalVM native-image support.

Technologies

KotlinGradleJUnit 5JacksonMustacheSwagger ParserPicocliGraalVM

Key Features

Automatic test case generation from OpenAPI specs covering parameters, request bodies, and authentication.
Provider/rule architecture with extensible validation logic for schema constraints (min/max, patterns, enums, required fields).
Template-based code generation via Mustache (Java/Kotlin RestAssured tests).
Configurable budget limits for schema depth, combinations, and test cases per operation.
Gradle plugin and CLI with GraalVM native-image support for fast startup and easy CI usage.
Flexible ignore configuration to filter test cases by path, operation, or rule.
Modular design with SPI extension points for custom rules, generators, and value providers.