Skip to content

OpenAPI Generation


Generate a complete apitwin config directory from an OpenAPI 3 spec in one command. Works with local files and remote URLs.

sh
apitwin generate --spec openapi.yaml --out ./mocks
apitwin --config ./mocks

Your mock server is running with routes for every operation in the spec — no editing required.

Documentation

PageDescription
Generate CommandFull workflow, flags, output structure, and Task usage
Stub QualityHow stubs are populated and format hints for synthesis

Released under the MIT License.