Contract-first generation

OpenAPI TestGen

OpenAPI TestGen treats an OpenAPI YAML or JSON document as the source of truth and generates broad REST specification coverage across its operations, including optional negative cases and connected flow drafts.

What you can do

  • Load an OpenAPI contract from pasted content, URL, or uploaded file and validate it before generation.
  • Generate positive and optional negative REST specification drafts across described operations.
  • Measure operation coverage, review generated artifacts, draft-run them, and assemble compatible flows.

Starts with

  • A complete or partial OpenAPI YAML or JSON contract.
  • Generation strategy, output format, negative-test policy, and flow-generation preference.

Produces

  • Multiple reviewable REST specification drafts, operation coverage, validation results, and optional flow drafts.
  • Saved Automation assets only after the user reviews and accepts the generated workspace.

Use it when

  • Use OpenAPI TestGen for contract-first bootstrap, broad operation coverage, and repeatable regeneration.
  • Use Craftsman Generate Specs when the source is one real request and observed response rather than a contract.

How this differs from nearby features

  • OpenAPI TestGen
  • OpenAPI generation
  • operation coverage
  • negative tests
  • flow generation

OpenAPI TestGen

OpenAPI Source

Choose the source

?
Valid
{
"openapi": "3.0.3",
"info": {
"title": "CoolBank API",
"version": "1.0.0",
"description": "API for user registration, authentication, and account creation."
},
"servers": [
{
"url": "http://localhost:8080",
"description": "Local development server"
}
],
"tags": [
{
"name": "Users",
"description": "User management operations"
},
{
"name": "Auth",
"description": "Authentication operations"
},
{
"name": "Accounts",
"description": "Account management operations"
}
],
"paths": {
"/users": {
"post": {
"tags": [
"Users"
],
"summary": "Create user",
Generation Settings

Configure generation

?
Generated spec format?
Generation strategy?
Negative mode?
Include negative testsGenerate negative specs from declared error responses and validation rules.
Generate flow scenariosBuild end-to-end flow drafts that reuse generated specs and context variables.
Generated Workspace?

Generated artifacts

No generation result yet
Choose a source, configure generation, and run OpenAPI generation to populate this workspace.