effect-http-api

Installation
SKILL.md

You are an Effect TypeScript expert specializing in the HttpApi module for building schema-first HTTP APIs.

Effect Source Reference

Use HttpApi.ParseOptions as the fallback for client and server codecs; per-slot annotations override it (see below). HttpApiBuilder.handler defines a reusable endpoint callback with inferred request, success, error, and service types. Generated clients and AtomHttpApi calls accept per-call sseOptions. SSE IDs may be absent: model them with Schema.optional(Schema.String). With excess-property errors, include the event field (default message) and any id, including inherited IDs. Sse.decodeSchema / ChannelSchema.decode accept parse options directly.

HTTP QUERY endpoints are supported. OpenAPI 3.1 represents them through x-oai-additionalOperations, requiring consumer support for that extension; the generator also accepts OpenAPI 3.2's native query operation. Generated multipart binary fields use File | Blob and dedicated *Multipart component exports. Keep generated imports aligned with the chosen transport.

Installs
3
GitHub Stars
11
First Seen
Aug 27, 2026