json-spec-elm-servant: Generated elm code for servant APIs.

[ elm, json, library, mit, servant, web ] [ Propose Tags ]

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.


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.2.0.0, 0.3.0.0, 0.3.1.0, 0.3.1.1, 0.3.1.2, 0.3.2.0, 0.3.2.1, 0.4.0.0, 0.4.0.1
Dependencies base (>=4.17.2.1 && <4.20), bound (>=2.0.7 && <2.1), containers (>=0.6.7 && <0.7), directory (>=1.3.7.1 && <1.4), elm-syntax (>=0.3.2.0 && <0.4), http-types (>=0.12.3 && <0.13), json-spec (>=0.2.1.1 && <0.3), json-spec-elm (>=0.3.0.0 && <0.4), mtl (>=2.2.2 && <2.4), prettyprinter (>=1.7.1 && <1.8), process (>=1.6.16.0 && <1.7), servant (>=0.20 && <0.21), text (>=2.0.2 && <2.2), unordered-containers (>=0.2.19.1 && <0.3) [details]
License MIT
Copyright 2022 Rick Owens
Author Rick Owens
Maintainer rick@owensmurray.com
Category JSON, Elm, Servant, Web
Home page https://github.com/owensmurray/json-spec-elm-servant
Uploaded by rickowens at 2023-12-04T03:05:48Z
Distributions Stackage:0.4.0.1
Downloads 209 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]

Readme for json-spec-elm-servant-0.3.1.2

[back to package description]

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.