Overview of servant's type-safe web DSL
masterServant is a set of Haskell libraries that allows you to define a web API as a Haskell type. This single source of truth enables several automated tasks:
- Server Implementation: Servant checks that your server-side request handlers faithfully implement the defined API type.
- Client Derivation: Automatically derive Haskell functions (or code in other languages) to interact with the API.
- Documentation Generation: Automatically generate Swagger descriptions or other API documentation from the type definition.