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


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

-Christopher

On Fri, Mar 20, 2015 at 7:06 AM, Ignas Vyšniauskas <i.vysniauskas@gmail.com> wrote:
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@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe