Endpoints A Quest For The Right Level Of Coupling
summary
Argues for describing HTTP endpoints as first‑class Scala values and shows a working demo: a pure Scala library that compiles endpoint descriptions into a Scala.js client and an Akka HTTP server, returning 200 for a hello query. Highlights modular interpreters (Swagger, Circe or Play JSON optional modules), no macros so IDEs see code, and composition of descriptions into reusable factories. Demonstrates client/server roundtrip and type-safe fail‑at‑compile errors when request shape changes.
AI-written summary · about
