@hackage json-spec-elm-servant0.5.0.0
Generated elm code for servant APIs.
Installation
Dependencies (15)
- base >=4.19.2.0 && <4.23
- 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.200.1 && <1.6 Show all…
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.