@hackage json-spec-elm-servant0.4.1.2

Generated elm code for servant APIs.

  • Installation

  • Dependencies (15)

  • Dependents (0)

  • Package Flags

      compile-elm
       (off by default)

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

json-spec-elm-servant

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 /test/test.hs and /test/Api.hs for an example.