<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Tue, May 16, 2017 at 2:16 AM Ivan Lazar Miljenovic <<a href="mailto:ivan.miljenovic@gmail.com">ivan.miljenovic@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is there anything close to having a relatively automated solution to<br>
"here is the Servant API types, here is the workflow it should follow,<br>
now give me some webpages" (which I could preferably either package up<br>
using threepenny-gui, Electron or just a few HTML files I can email to<br>
the project admins - who all run Windows - to use)? It doesn't have to<br>
look pretty, just work.<br></blockquote><div><br></div><div>It's nowhere as plug-and-play as what you've envisioned, sadly, but perhaps you could have some success by having your endpoints output a [Siren] hypermedia representation of your server resources and then pointing one of the various API browsers[1][2][3] at it, though they do look like development has been abandoned nowdays, sadly.</div><div><br></div><div>I even have some (very old, never published, never battle-tested, unmaintained, probably broken, not so well designed) [code] that's handy to generate Siren resource representations; it may serve as a starting point if you decide this is a reasonable way forward.</div><div><br></div><div>[Siren]: <a href="https://github.com/kevinswiber/siren">https://github.com/kevinswiber/siren</a><br></div><div>[1]: <a href="https://github.com/applicaster/siren-browser">https://github.com/applicaster/siren-browser</a></div><div>[2]: <a href="https://github.com/wurlinc/siren-browser">https://github.com/wurlinc/siren-browser</a></div><div>[3]: <a href="https://github.com/kevinswiber/siren-api-browser">https://github.com/kevinswiber/siren-api-browser</a></div><div>[code]: <a href="https://github.com/mgomezch/yesod-squealer/blob/master/source/Data/Siren.hs">https://github.com/mgomezch/yesod-squealer/blob/master/source/Data/Siren.hs</a></div></div></div>