I recently cloned the master branch, and noticed that a
ClientGenerator.java has recently been introduced there. It seems that this is still work in progress – even when I activated that Generator (through CLI or Maven plugin) I didn’t get any meaningful Java code for clients. Or did I do something wrong?
What I was hoping to find was this:
- Having type-safe DTOs generatad (this is same as for server, and works already).
- Having a fully implemented client class that provides Java methods for all of the resources and operations of the API.
- Or, some kind of builder class that makes it easy to build JAX-RS requests based on the API.
Is this the direction that the new developments are heading to? Or is the
ClientGenerator.java about something different? Is there any kind of road-map for these developments? Is there a sketch/example of what generated client code would look like?
Sorry for hassling you with all these questions. It’s just that my team is in dire need to provide Java-clients for our RAML APIs. We were hoping to re-use existing frameworks for that purpose, and currently RAML for JAX-RS is our best shot. Thus some alignment regarding ongoing developments (and possible contributions from our side) will be much appreciated.