A REST documenter and tester is automatically generated for a REST resource.
Refer to
OSGi commands to List REST URLs in the
REST Implementation guide. The documentation is based on the Swagger specification and is rendered using the Swagger UI.
Swagger UI
This Swagger based interface provides a convenient and quick way to:
View REST endpoints and operations implemented by the REST resource service.
Examine the inputs and outputs for each operation in JSON format.
Enable
Input fields to specify JSON or XML input for each operation.
Invoke an operation and receive a live response for the input supplied.