On Thu, Jul 7, 2011 at 3:03 PM, sam lee <[email protected]> wrote: > ...I don't think sling has RESTful API reference. It would be useful....
you're right, OTOH Sling has an extensive integration test suite which uses its HTTP interfaces, so you can learn a lot by looking at the code under [1]. If someone feels like contributing to this, it would be cool to adapt and extend what I started to do in Stanbol [2] to generate RESTful API documentation based on annotated integration tests. -Bertrand [1] http://svn.apache.org/repos/asf/sling/trunk/launchpad/integration-tests [2] See https://issues.apache.org/jira/browse/STANBOL-15 and "generateDocumentation" in http://svn.apache.org/repos/asf/incubator/stanbol/trunk/integration-tests/src/test/java/org/apache/stanbol/enhancer/it/StatelessEngineTest.java
