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.