@hackage / api-tools

DSL for generating API boilerplate and docs

Latest0.10.1.1

About

Metadata

  • Last updated , by AdamGundry
  • License BSD-3-Clause
  • Categories Cloud Computing, Distributed Systems & Computation, Network Development, Web Development
  • Maintained by: Adam Gundry <adam@well-typed.com>

  • Lottery factor: 1

Links

Installation

Tested Compilers

  1. 9.10.1
  2. 9.8.2
  3. 9.6.6
  4. 9.4.8

Package Flags

Use the -f option with cabal commands to enable flags

    use-attoparsec-aeson (on by default)

    Depend on Data.Aeson.Parser from attoparsec-aeson

Readme

api-tools provides a compact DSL for describing an API. It uses Template Haskell to generate the corresponding data types and assorted tools for working with it, including Aeson and QuickCheck instances for converting between JSON and the generated types and writing unit tests.