json-spec-elm-servant: Generated elm code for servant APIs.
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]
Flags
Automatic Flags
Name | Description | Default |
---|---|---|
compile-elm | Set this flag to run the Elm compilation tests, which requires Elm to be installed on the system. | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- json-spec-elm-servant-0.4.1.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
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, 0.4.0.2, 0.4.1.0, 0.4.1.1, 0.4.1.2, 0.4.2.0, 0.4.2.1, 0.4.2.2 |
---|---|
Dependencies | base (>=4.19.0.0 && <4.21), bound (>=2.0.7 && <2.1), containers (>=0.6.8 && <0.8), directory (>=1.3.8.1 && <1.4), elm-syntax (>=0.3.3.0 && <0.4), filepath (>=1.4.300.2 && <1.6), http-types (>=0.12.3 && <0.13), json-spec (>=0.3.0.0 && <1.1), json-spec-elm (>=0.4.0.0 && <0.5), mtl (>=2.3.1 && <2.4), prettyprinter (>=1.7.1 && <1.8), process (>=1.6.18.0 && <1.7), servant (>=0.20.1 && <0.21), text (>=2.1 && <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 2024-09-05T02:27:45Z |
Distributions | Stackage:0.4.2.2 |
Downloads | 539 total (52 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] |