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
Dependencies base (>=4.19.0.0 && <4.20), bound (>=2.0.7 && <2.1), containers (>=0.6.8 && <0.7), elm-syntax (>=0.3.3.0 && <0.4), http-types (>=0.12.3 && <0.13), json-spec (>=0.2.1.3 && <0.3), json-spec-elm (>=0.3.0.4 && <0.4), mtl (>=2.3.1 && <2.4), servant (>=0.20.1 && <0.21), text (>=2.1 && <2.2) [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 2024-02-01T15:53:51Z
Distributions
Downloads 119 total (21 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.2.1

[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.