Overview of effect-http features
mastereffect-http is a high-level declarative HTTP library for Effect-TS built on top of @effect/platform. It provides several automated capabilities:
- Client derivation: Generate a type-safe client with runtime validation from a single API specification.
- OpenAPI derivation: Automatically provides a
/docsendpoint with an OpenAPI UI. - Batteries included server implementation: Provides automatic runtime validation for both requests and responses.
- Example server derivation: Automatically derives an example server implementation from your specification.
- Mock client derivation: Allows for safe testing against a specified API using a mock client.
Warning: This project is under development. Releases may introduce breaking changes as the public API and internals are still evolving.