Skip to content
S

Servant

Servant is a Haskell DSL for describing, serving, querying, mocking

by haskell-servantFree

#1208in Utilities
0In stores

Description

Servant is a set of Haskell libraries for writing type-safe web applications. You describe a web API as a Haskell type, and Servant checks t…

Highlights

  • Describe an HTTP API as a Haskell type
  • Type-checked server handlers
  • Derived clients and OpenAPI or Swagger docs
  • Tutorial, cookbook and examples

Ratings & Reviews

No ratings yet

Be the first to rate Servant.

People also visit

W

Wai

Haskell Web Application Interface

Utilities
Launch
D

Docs

Full stack typesafe API-first development with OpenAPI

Developer Tools
Launch
K

Keter

Web app deployment manager

Utilities
Launch
U

Utoipa

Simple, Fast, Code first and Compile time generated OpenAPI documentation

Developer Tools
Launch
C

Cortex Docs

Cortex - Generates interactive API documentation, typed SDKs

Productivity
Launch
K

Ktor Documentation

Documentation for the Ktor framework

Utilities
Launch

Servant FAQ

What is Servant?

A set of Haskell libraries for writing type-safe web APIs, deriving clients and generating documentation from the API's type.

Is it free?

Yes. It is a free, open-source library.

Do I need to know Haskell?

Yes. Servant is a Haskell library, and its tutorial is written for Haskell developers.

Can it generate documentation?

Yes. The site says it can generate Swagger or OpenAPI descriptions and documentation from the API type.

Can it generate clients in other languages?

Yes. The docs cover generating JavaScript functions to query an API.

Where do I start?

The tutorial, which covers installation, describing a web API as a type, and serving it.

What are the best Servant alternatives?

Popular alternatives to Servant include Wai, Keter and Ktor Documentation. See all Servant alternatives

Developer Stuff

Badges