[Haskell-cafe] Strongly typed data / API specification librares

Christopher Reichert creichert07 at gmail.com
Fri Mar 20 17:44:19 UTC 2015

Are you looking for something like this: https://github.com/twittner/swagger?
Basicallly, a DSL to generate the API specification? The added benefit is
that it's compatible with WAI which helps when/if you want to serve the

I've used the interactive documentation and swagger-codegen to generate
several clients in other languages (python, ruby). I'm quite happy with the


On Fri, Mar 20, 2015 at 7:06 AM, Ignas Vyšniauskas <i.vysniauskas at gmail.com>

> Hi cafe,
> Does anyone know of any libraries that allow one to describe data /
> interfaces (think IDLs), with emphasis on good support for modules,
> strong typing and extensibility?
> I am thinking in the lines of Thrift[1], Piqi[2], Swagger[3], but with
> the core data specification language as decoupled as possible from any
> kind of implementation related things (such as actual representation
> of data, or RPC / RESTful bindings).
> haskell-servant[4] and silk-rest[5] are kind of relevant, but they are
> very much oriented towards RESTful APIs.
> Sorry if this is slightly off-topic, but I couldn't think anywhere
> else to inquire about this.
> Thanks,
> Ignas
> [1]: https://thrift.apache.org/
> [2]: http://piqi.org/
> [3]: http://swagger.io/
> [4]: http://haskell-servant.github.io/
> [5]: http://silkapp.github.io/rest/
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150320/26d985d7/attachment.html>

More information about the Haskell-Cafe mailing list