Back to feed
Dev.to
Dev.to
7/15/2026
The original title is: "mock-cli: A Rust-based OpenAPI mock server with dynamic fake data and millisecond cold starts"

The original title is: "mock-cli: A Rust-based OpenAPI mock server with dynamic fake data and millisecond cold starts"

Original: I built a blazing-fast OpenAPI mock server in Rust — starts in milliseconds, zero config, dynamic fake data

Short summary

mock-cli is a Rust-based OpenAPI mock server that reads any OpenAPI 3 spec and serves dynamic, schema-compliant fake data with millisecond cold starts. It supports path parameter injection, cycle-safe $ref resolution, and all HTTP methods as a single static binary with no runtime dependencies. Available via npm or GitHub Releases.

  • Rust binary reads OpenAPI 3 specs and serves dynamic schema-compliant mock data
  • Cold start in milliseconds with no Docker or runtime dependencies
  • Supports path param injection, cycle-safe refs, and correct HTTP status codes

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Comments

Failed to load comments. Please try again.

Explore more