Skip to main content
RIG AG-01
← Back to Projects

Attached Instrument · INST-01

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.

Key Features

self-calibrating: generates its own test cases
  • 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.

Technologies

MOD-01 … MOD-08

KotlinGradleJUnit 5JacksonMustacheSwagger ParserPicocliGraalVM