api-tools: DSL for generating API boilerplate and docs

[ bsd3, cloud, distributed-computing, library, network, program, web ] [ Propose Tags ] [ Report a vulnerability ]

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.

Flags

Automatic Flags
NameDescriptionDefault
use-attoparsec-aeson

Depend on Data.Aeson.Parser from attoparsec-aeson

Enabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.2, 0.3, 0.4, 0.4.0.1, 0.5, 0.5.1, 0.5.2, 0.8.0.1, 0.8.0.2, 0.9.0.0, 0.10.0.0, 0.10.0.1, 0.10.1.0, 0.10.1.1
Change log changelog
Dependencies aeson (>=0.10 && <1.6 || >=2.0 && <2.3), aeson-pretty (>=0.1 && <0.9), api-tools, array (>=0.4 && <0.6), attoparsec (>=0.10.4 && <0.15), attoparsec-aeson (>=2.1 && <2.3), base (>=4.9 && <5), base16-bytestring (>=0.1 && <1.1), base64-bytestring (>=1.0 && <1.3), bytestring (>=0.9 && <0.13), case-insensitive (>=1.0 && <1.3), cborg (>=0.1.1.0 && <0.3), containers (>=0.5 && <0.8), deepseq (>=1.1 && <1.6), lens (>=3.8.7 && <5.4), QuickCheck (>=2.5.1 && <2.16), regex-base (>=0.93 && <0.95), regex-tdfa (>=1.1.0 && <1.4), safe (>=0.3.3 && <0.4), safecopy (>=0.8.1 && <0.11), scientific (>=0.3 && <0.4), serialise (>=0.1.0.0 && <0.3), template-haskell (>=2.7 && <2.23), text (>=0.11.3 && <2.2), time (>=1.5.0 && <1.14), unordered-containers (>=0.2.3.0 && <0.3), vector (>=0.10.0.1 && <0.14) [details]
Tested with ghc ==9.4.8, ghc ==9.6.6, ghc ==9.8.2, ghc ==9.10.1
License BSD-3-Clause
Copyright (c) Iris Connect 2013-2024
Author Chris Dornan <chrisd@irisconnect.co.uk> and Adam Gundry <adam@well-typed.com>
Maintainer Adam Gundry <adam@well-typed.com>
Category Network, Web, Cloud, Distributed Computing
Home page http://github.com/iconnect/api-tools
Source repo head: git clone git://github.com/iconnect/api-tools.git
this: git clone git://github.com/iconnect/api-tools.git(tag 0.10.1.0)
Uploaded by AdamGundry at 2024-08-22T15:43:12Z
Distributions
Reverse Dependencies 3 direct, 0 indirect [details]
Executables perf-test, migration-tool
Downloads 8573 total (32 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]