]
Gary Brown commented on RTGOV-508:
----------------------------------
Need to also add enunciate annotations to the JSON serializable classes for it to document
them.
Test RTGov REST services with typed args/return values
------------------------------------------------------
Key: RTGOV-508
URL:
https://issues.jboss.org/browse/RTGOV-508
Project: RTGov (Run Time Governance)
Issue Type: Task
Security Level: Public(Everyone can see)
Reporter: Gary Brown
Assignee: Gary Brown
Fix For: 2.0.0.Final
When initially porting RTGov onto Karaf (RTGOV-373) we used the built in JAX-RS support
provided by CXF. However the version of Karaf we needed to use, to support Fuse 6.1, had
some issues with the typed signature.
The solution was to untyped the methods and just pass strings, and handle json
marshalling in the REST service.
Now that REST API docs are being generated, this causes the problem that it does not
document the true types being used.
We are now using RESTEasy to provide the JAX-RS services, so we need to retest with typed
signatures in Karaf/Fuse, to see whether they now work. This will allow better API
documentation to be automatically produced.