simile-server is intentionally thin. It translates HTTP into a protocol-neutral operation call,
then translates the runtime result back into HTTP. It does not parse OpenAPI, compile schemas,
synthesize values, or execute a provider’s private infrastructure.
Route table
At startup, the server builds a route table from validated artifact operations. Literal paths are registered before parameter templates so a concrete route cannot be shadowed by a placeholder. The table points to stable artifact operation keys; route handlers do not carry source-language state.Transport normalization
The adapter captures template path values, repeated query values, case-insensitive headers, and cookie pairs, then validates them through their compiled parameter schemas. It enforces an 8 MiB request-body limit, reads the declared content type, and passes the decoded media choice to the runtime. It also normalizes replay identity:- an
Idempotency-Keyidentifies repeated mutation attempts; - a GET request’s full URI identifies repeat retrievals, including its query string.