Contract-backed HTTP
Validate requests and synthesize responses from OpenAPI 3.0–3.2, Smithy 2.0 or semantic TypeScript declarations instead of maintaining a second handwritten mock contract.
Test against the service you expect.
The project
Simile runs provider-authored service emulations on a developer's machine or in CI. It validates requests, produces contract-backed responses, maintains local state and exercises declared asynchronous work, webhooks, scenarios and delivery faults.
Service providers publish the public contract and optional behavior. Developers run the resulting service without depending on a hosted test environment, production credentials or shared test data.
The emulator
Simile compiles a public HTTP contract and optional behavior into a portable service artifact. Its runtime serves that artifact without reopening the source contract, giving local development and CI the same validated routes, outcomes and state transitions.
v0.3.01.85Validate requests and synthesize responses from OpenAPI 3.0–3.2, Smithy 2.0 or semantic TypeScript declarations instead of maintaining a second handwritten mock contract.
Model databases, queues, caches, mail, object storage, events, schedules and outbound HTTP with repeatable local backends and explicit time control.
Run an application test command with the selected Simile service, profile and environment, then clean up the service while preserving the test's exit status.
Execute one contract operation with a supplied or synthesized request to inspect an outcome before starting a long-lived local service.
Exercise provider-declared outcomes, asynchronous work, signed webhooks, environmental faults and delivery failures without changing application code.
Observe a bounded pass-through session, sanitize captured evidence and generate a conservative service workspace for provider review.
What it owns
The service provider publishes the contract and optional behavior instead of asking every consumer to invent its own mocks.
Tests control state, time, outcomes and faults without depending on the availability or history of a shared sandbox.
Compiled artifacts, generated requests and declared outcomes make the emulator's claims reviewable rather than implicit.
We use optional analytics and advertising cookies to understand visits and measure campaigns. Read our privacy policy.