I was wondering if there is a Java client for the REST API?
I am trying to make type safe calls.
From my knowledge it should be possible to have a JAX-RS client. If there isn’t one yet, do you know if it is possible to reuse the annotations used on the server side?
apart from the external task client (which is a REST client for parts of the API), there is no official Java client. There is a project aiming to integrate swagger with the REST API, however, I think this is not up-to-date. You can find it on GitHub: https://github.com/camunda/camunda-bpm-swagger
The advantage of the Camunda REST client Spring-Boot over the generated API is that it is an implementation of the Camunda Java API (and not a generated client from the REST API). So in using the https://camunda.github.io/camunda-rest-client-spring-boot/ extension you don’t have to distinguish between local API call and remote API call.
The disadvantage is currently the poor coverage - only a small part is implemented yet, and we are looking for you as contributors or/and for feature request / priorisation.