3 ms·
I enjoy tests that generate documentation & examples. restex is a Java library for doing that with Jersey-based REST servers; your integration tests become anno
by cobbzilla 10y ago
I enjoy tests that generate documentation & examples. restex is a Java library for doing that with Jersey-based REST servers; your integration tests become annotated HTML docs.
https://github.com/cobbzilla/restex https://github.com/cobbzilla/restex
disclosure: I am the author of this library
- andreareina 10y agoCool project. It would be nice to see an example of how the final docs look.
- cobbzilla 10y agoHere is a simple example from another open source project of mine: https://alpha3.histori.city/api-examples/ https://alpha3.histori.city/api-examples/ If you don't like how it looks, you can always use a different set of stylesheets and HTML templates (written with handlebars) to change the look & feel.