<div dir="ltr">Are you looking for something like this: <a href="https://github.com/twittner/swagger" target="_blank">https://github.com/twittner/swagger</a>? 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.<div><br></div><div><br></div><div>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.</div><div><br></div><div>-Christopher</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 20, 2015 at 7:06 AM, Ignas Vyšniauskas <span dir="ltr"><<a href="mailto:i.vysniauskas@gmail.com" target="_blank">i.vysniauskas@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi cafe,<br>
<br>
Does anyone know of any libraries that allow one to describe data /<br>
interfaces (think IDLs), with emphasis on good support for modules,<br>
strong typing and extensibility?<br>
<br>
I am thinking in the lines of Thrift[1], Piqi[2], Swagger[3], but with<br>
the core data specification language as decoupled as possible from any<br>
kind of implementation related things (such as actual representation<br>
of data, or RPC / RESTful bindings).<br>
<br>
haskell-servant[4] and silk-rest[5] are kind of relevant, but they are<br>
very much oriented towards RESTful APIs.<br>
<br>
Sorry if this is slightly off-topic, but I couldn't think anywhere<br>
else to inquire about this.<br>
<br>
Thanks,<br>
Ignas<br>
<br>
<br>
[1]: <a href="https://thrift.apache.org/" target="_blank">https://thrift.apache.org/</a><br>
[2]: <a href="http://piqi.org/" target="_blank">http://piqi.org/</a><br>
[3]: <a href="http://swagger.io/" target="_blank">http://swagger.io/</a><br>
[4]: <a href="http://haskell-servant.github.io/" target="_blank">http://haskell-servant.github.io/</a><br>
[5]: <a href="http://silkapp.github.io/rest/" target="_blank">http://silkapp.github.io/rest/</a><br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
</blockquote></div><br></div>