@hackage / json-spec-elm-servant

Generated elm code for servant APIs.

Latest0.5.1.0

About

Metadata

  • Last updated , by rickowens
  • License MIT
  • Categories FFI, JSON, Web Development
  • Maintained by: rick@owensmurray.com

  • Lottery factor: 1

Links

Installation

Package Flags

Use the -f option with cabal commands to enable flags

    compile-elm (off by default)

    Set this flag to run the Elm compilation tests, which requires Elm to be installed on the system.

Readme

Generate Elm encoders, decoders, and API requests for an Servant API, where the shape of the data going over the API is described using `json-spec`.

See the `testtest.hs` and `testApi.hs` for an example.