Skip to content

Releases: Coding-Dev-Tools/apighost

v0.1.0 — Initial Release

15 May 03:51

Choose a tag to compare

APIGhost CLI — OpenAPI spec to mock server with VCR recording.

Turn any OpenAPI 3.0/3.1 spec into a running mock API server with realistic fake data, scenario-based response overrides, and VCR-style cassette recording/replay.

Features

  • OpenAPI 3.0/3.1 spec parsing with full $ref resolution
  • Flask-based mock server with realistic fake data (Faker-powered)
  • VCR-style cassette recording and deterministic replay
  • Named scenario system for testing edge cases
  • CLI commands: serve, record, replay, generate, scenario, cassette, info
  • Path parameter resolution and status code selection

Commands

apighost serve petstore.yaml              # Start mock server
apighost record spec.yaml                 # Record interactions
apighost replay my-cassette               # Replay recorded interactions
apighost scenario create error-test       # Create test scenarios
apighost generate petstore.yaml           # Generate sample data

Stats

  • 55 tests passing
  • CI workflow (Python 3.10-3.13)
  • PyPI publish workflow ready (needs PYPI_API_TOKEN secret)