A template for creating self-contained mock API servers using Connexions.
Place your OpenAPI specs in openapi/ and static responses in static/, build a single binary, and run it anywhere - no external files needed.
- Click Use this template to create your own repository
- Add your OpenAPI specs to
openapi/and/or static responses tostatic/ - Push to main - binaries for Linux, macOS, and Windows are built automatically and published to Releases
Drop .yml, .yaml, or .json OpenAPI spec files into the openapi/ directory.
Each spec becomes a separate service, accessible at /{service-name}/.
Create directories under static/{service-name}/{method}/ with JSON response files:
static/
hello-world/
get/
index.json -> GET /
post/
index.json -> POST /
See the Connexions docs for more options.